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

Поделиться
HTML-код
  • Опубликовано: 22 ноя 2024

Комментарии • 35

  • @chavelooo33
    @chavelooo33 2 года назад

    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.

  • @olemew
    @olemew 3 года назад

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

    • @SolutionsAbroad
      @SolutionsAbroad  3 года назад

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

  • @archis0605
    @archis0605 Год назад

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

  • @SambitPriyaranjanSahoo
    @SambitPriyaranjanSahoo Год назад

    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.

  • @Rajesh-gw7di
    @Rajesh-gw7di 8 месяцев назад +1

    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

  • @carlosgarciamartinez3380
    @carlosgarciamartinez3380 9 месяцев назад

    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.

  • @kebincui
    @kebincui 3 года назад +1

    Great tutorial, thanks for sharing

  • @jobimaxia
    @jobimaxia Год назад

    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.

  • @sravankumar1767
    @sravankumar1767 3 года назад +1

    Nice explanation 👌

  • @stevewilliams9753
    @stevewilliams9753 3 года назад +1

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

    • @SolutionsAbroad
      @SolutionsAbroad  3 года назад

      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 3 года назад

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

  • @sonisatishh07
    @sonisatishh07 2 года назад

    How did you group month year in calendar table

  • @kckingle8370
    @kckingle8370 5 месяцев назад +1

    Thanks!

  • @CountryViewMeadows
    @CountryViewMeadows 3 года назад +1

    SOOOO cool!!! Thank you!

  • @tarikdesilva5143
    @tarikdesilva5143 Год назад

    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!

  • @Luis.C.Canchan
    @Luis.C.Canchan 2 года назад +1

    Muchas gracias.

  • @marlonetzel6450
    @marlonetzel6450 3 месяца назад

    good video. Thanks for helping :)

  • @welcometomathy
    @welcometomathy 2 года назад

    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.

  • @venkateshar7483
    @venkateshar7483 3 года назад +1

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

    • @SolutionsAbroad
      @SolutionsAbroad  3 года назад

      Hey mate, I've covered that here in this video: ruclips.net/video/zYKm8yBewQU/видео.html

  • @gabrielgordon
    @gabrielgordon 3 года назад +1

    Great! Thanks

  • @vanishedxu
    @vanishedxu 3 года назад +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  3 года назад

      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 3 года назад

      @@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 Год назад

    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.

  • @chinnakotlaprakash7490
    @chinnakotlaprakash7490 3 года назад +1

    Nice bro ❤️