Highlight Highest / Lowest AUTOMATICALLY using DAX // Beginners Guide to Power BI in 2021

Sdílet
Vložit
  • čas přidán 8. 09. 2024

Komentáře • 35

  • @chavelooo33
    @chavelooo33 Před rokem

    Thanks for your videos, what I like it is that are very clear and simple, there are videos less thank 10 mins and goes directly to the point but well explained.

  • @kckingle8370
    @kckingle8370 Před 3 měsíci +1

    Thanks!

  • @marlonetzel6450
    @marlonetzel6450 Před měsícem

    good video. Thanks for helping :)

  • @kebincui
    @kebincui Před 2 lety +1

    Great tutorial, thanks for sharing

  • @Luis.C.Canchan
    @Luis.C.Canchan Před 2 lety +1

    Muchas gracias.

  • @olemew
    @olemew Před 2 lety

    To highlight lowest and highest you can always use the in built conditional formatting, playing with =0 and =100 percent.

    • @SolutionsAbroad
      @SolutionsAbroad  Před 2 lety

      Hi, I've never thought about using that, great idea, thanks!

  • @CountryViewMeadows
    @CountryViewMeadows Před 3 lety +1

    SOOOO cool!!! Thank you!

  • @archis0605
    @archis0605 Před 9 měsíci

    First of all these video is very useful but if i want min max for each year then how could we do that ?

  • @sravankumar1767
    @sravankumar1767 Před 3 lety +1

    Nice explanation 👌

  • @gabrielgordon
    @gabrielgordon Před 3 lety +1

    Great! Thanks

  • @stevewilliams9753
    @stevewilliams9753 Před 3 lety +1

    Very cool. Can you do a similar video highlighting the first and last data values using DAX?

    • @SolutionsAbroad
      @SolutionsAbroad  Před 3 lety

      Hi Steve, of course but I think it will be the exact same solution as this (MINX and MAXX can work on first / last text or dates too)
      Can you give me a scenario you're looking at using this?

    • @stevewilliams9753
      @stevewilliams9753 Před 3 lety

      ​@@SolutionsAbroad Was looking to highlight first and last data point on a line chart. And was curious to see if DAX was similar. Thanks.

  • @user-fq4fl3sy5r
    @user-fq4fl3sy5r Před 10 měsíci

    this video is useful but can we change the tooltip for the highest one?. for the highest one in tooltip i need only the quarter and highest to be shown.

  • @venkateshar7483
    @venkateshar7483 Před 3 lety +1

    Please explain how to create power bi online account in cloud by using gmail

    • @SolutionsAbroad
      @SolutionsAbroad  Před 3 lety

      Hey mate, I've covered that here in this video: czcams.com/video/zYKm8yBewQU/video.html

  • @chinnakotlaprakash7490
    @chinnakotlaprakash7490 Před 3 lety +1

    Nice bro ❤️

  • @carlosgarciamartinez3380
    @carlosgarciamartinez3380 Před 6 měsíci

    Hi Fernan. I have a situation to try applying this use case. My Column chart has two values on X-axis ( Year, Month) and when I tried to apply your recommendation did not do anything. Could You help me or make a video of how I can do it.

  • @tarikdesilva5143
    @tarikdesilva5143 Před rokem

    Hi, this video was so useful. Just curious, would the same workflow work if I wanted to create a “personal best” sales amount card, based on category( for eg- for oranges, the highest sale historically was $xyz ?? And this would be replaced if a higher sale was recorded in future? Would really appreciate your help with this!

  • @Rajesh-gw7di
    @Rajesh-gw7di Před 6 měsíci

    i have used the same code but i am getting all bars with green only can u explain why ?
    Highlight max/min =
    VAR _highest= MAXX(ALLSELECTED('Calendar'[Year Month]),[total_sales])
    VAR _lowest= MINX(ALLSELECTED('Calendar'[Year Month]),[total_sales])
    VAR _highlight=SWITCH(TRUE(),
    _highest=[total_sales],"Green"
    ,_lowest=[total_sales],"Red"
    ,"Gray")
    RETURN
    _highlight

  • @jobimaxia
    @jobimaxia Před rokem

    Hi, I created a table showing affected employees and facilities and their distance to the nearest disaster area, but I can't translate it into a card or bar graph. The table is filtered by Is Within Threshold. How do I go about it? Appreciate the help. Thanks.

  • @sonisatishh07
    @sonisatishh07 Před 2 lety

    How did you group month year in calendar table

  • @welcometomathy
    @welcometomathy Před rokem

    hi can you make it work with only SelectValues from the date table? I might want to filter dates to see only last 12 weeks but if the high or low ain't on those dates it doesn't work.

  • @vanishedxu
    @vanishedxu Před 2 lety +1

    Is it possible to apply different colors to y ticks based on a categorical column? There is conditional formatting for y ticks, but I've failed miserably hundreds of times trying. For example, on a horizontal bar chart showing countries by population where country names are the y ticks, is it possible to make say all European countries one color and other countries another color?

    • @SolutionsAbroad
      @SolutionsAbroad  Před 2 lety

      Hi Van, not sure I got the question here. If you're using a bar chart, you should be able to create a measure with a SWITCH statement that manually changes your European countries colour, basically similar to what I've done in the report. If you explain to me a bit more perhaps I can try to help you

    • @vanishedxu
      @vanishedxu Před 2 lety

      @@SolutionsAbroad Hi Fernan, I did create a measure with a SWITCH statement that returns "Red" when the population is over 50 million and "Green" when below. It works great on formatting the bar colors. But when I applied the same measure on the Y axis text (different country names in words), I would expect to see the same color variance and it doesn't work there. It always shows one color for all countries, no matter what the bar color is for that specific country. I wish I could upload a screenshot so I can make myself more clear.

  • @veebee3969
    @veebee3969 Před 11 měsíci

    Hi Fernan, I created my own Power BI file using the same dataset. I'm unable to replicate $134,630.56 (3:32) on all rows. Instead my file is displaying the monthly sales number on each row. All formulas (measures) are identical between your file and my file. I suspect it is some setting that I have overlooked. In my file I have disabled the "Current File/Data Load/Time Intelligence" which is same as yours. Are you able to suggest where I'm going wrong? Thank You.
    Update - After spending a whole day, I realised in the Calendar Table, Year and Month columns need to be there before creating 'Month Year' group. In few attempts where I created the just the date column only (no other columns) in the Auto Calendar and then went on to create the 'Month Year' group, the visuals did not give the Max value on each row. I thought 'Month Year' group was coming from the Date column and other columns are not important. Appreciate, if you can briefly explain the logic. Thank You.