Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi @Delion ,
Try this:
Measure = IF(SUM('Table'[Column2])>=3,"Red","Black")
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @Delion ,
Try this:
Measure = IF(SUM('Table'[Column2])>=3,"Red","Black")
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Thank @Icey
I have further question
How to make this color coding dynamic ?
Example :
Jan sales < 10% color Red
Feb sales < 20% color Red
March sales < 30% color Red
Hi @Delion ,
How are your card visualizations created? One month sales for one card?
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Delion ,
How about something like this:
Measure =
VAR All_ =
CALCULATE ( SUM ( 'Table'[Sales] ), ALL ( 'Table'[Month] ) )
VAR Jan_ =
CALCULATE ( SUM ( 'Table'[Sales] ), 'Table'[Month] = 1 )
VAR Feb_ =
CALCULATE ( SUM ( 'Table'[Sales] ), 'Table'[Month] = 2 )
VAR Mar_ =
CALCULATE ( SUM ( 'Table'[Sales] ), 'Table'[Month] = 3 )
RETURN
IF (
Jan_ / All_ < 0.1
|| Feb_ / All_ < 0.2
|| Mar_ / All_ < 0.3,
"Red",
"Black"
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Delion , Create a color measure and use that in conditional formatting using field value option
color = if([meausre] <[threshold] ,"red", "green")
Refer to the link I have given last update for steps. Or part of this video have that -https://www.youtube.com/watch?v=veCtfP8IhbI
@Delion , the text of the card mean on title?
refer: Color Field - Color Measure - Conditional formatting
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
109 | |
89 | |
76 | |
67 |
User | Count |
---|---|
125 | |
111 | |
100 | |
83 | |
71 |