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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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