Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Suggest some good visual for this kind of Data

Hi Team,

Below is my sample data, I wanted to show all 4 Qts data and its difference (Met & Not Met). I want to show all domians and its Qtrly update. Please help me 

DomainsQ1Q2Q3Q4
AMetNot MetMetNot Met
BNot MetNot MetMetNot Met
CMetMetMetNot Met
DNot MetMetMetNot Met
ENot MetMetMetNot Met
FMetMetNot MetMet

 

 

Thanks in Addvance !

 

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

In the query editor, select "Domains" column and click "Unpivot other column".

Vlianlmsft_0-1628751556486.png

Create measure like below and apply it to conditional formatting.

Measure = IF(MAX('Table'[Value])="Met","blue","grey")

Vlianlmsft_1-1628751638912.pngVlianlmsft_2-1628751646835.png

 


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

In the query editor, select "Domains" column and click "Unpivot other column".

Vlianlmsft_0-1628751556486.png

Create measure like below and apply it to conditional formatting.

Measure = IF(MAX('Table'[Value])="Met","blue","grey")

Vlianlmsft_1-1628751638912.pngVlianlmsft_2-1628751646835.png

 


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Matrix with conditional formatting. You can only show color based on Met and Not met (use same color for font and background) You can use color measure

 

example

Color sales = if(AVERAGE(Sales[Sales Amount])<170,"green","red")
Color Year = if(FIRSTNONBLANK("Table"[Year],2014) <=2016,"lightgreen",if(FIRSTNONBLANK("Table"[Year],2014)>2018,"red","yellow"))

Color = if(FIRSTNONBLANK("Table"[Year],2014) <=2016 && AVERAGE(Sales[Sales Amount])<170
,"lightgreen",if(FIRSTNONBLANK("Table"[Year],2014)>2018,"red","yellow"))
Color sales = if([Sales Today] -[sales yesterday]>0,"green","red")

 

 

How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

Anonymous
Not applicable

@amitchandak ,

I dont have year column, please can yu send me the example.

 

Thanks !

 

@Anonymous , those were examples, you have to measures like assuming q1, q2 are columns else use column name

 

if max([Q1]) = "Met", "green", "red")

 

if max([Q2]) = "Met", "green", "red")

Anonymous
Not applicable

@amitchandak 

Here is the error.

image.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.