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.
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
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.
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.
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.
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?
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
@@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.
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!
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.
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.
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?
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.
Great tutorial, thanks for sharing
Thanks for watching, much appreciated!
SOOOO cool!!! Thank you!
Glad you like it!
Nice explanation 👌
Thanks for watching!
good video. Thanks for helping :)
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
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.
Nice bro ❤️
Thanks 🔥
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.
Great! Thanks
You're welcome!
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.
First of all these video is very useful but if i want min max for each year then how could we do that ?
To highlight lowest and highest you can always use the in built conditional formatting, playing with =0 and =100 percent.
Hi, I've never thought about using that, great idea, thanks!
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?
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
@@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.
Thanks!
Thanks for that!
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!
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.
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.
How did you group month year in calendar table
Muchas gracias.
You're welcome!
Very cool. Can you do a similar video highlighting the first and last data values using DAX?
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?
@@SolutionsAbroad Was looking to highlight first and last data point on a line chart. And was curious to see if DAX was similar. Thanks.
Please explain how to create power bi online account in cloud by using gmail
Hey mate, I've covered that here in this video: ua-cam.com/video/zYKm8yBewQU/v-deo.html