cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dokat
Continued Contributor
Continued Contributor

Multi row card dynamic data formatting

Hi,

 

I have multi row card that diesplays 4 measures. All in percentages. Is it possible to individually format these values based on criteria.

For Ex: If WT CAGR is greater than 0% highlight in green if not in red.

 

dokat_0-1643528118513.png

 

I used below formula to format however it formats all the measures based on the result first measure (GP CAGR <0)

 

Color = SWITCH(TRUE(),
[GP CAGR]<0,"Red",
[NS CAGR]<0,"Red",
[OIS CAGR]<0,"Red",
[WT CAGR]<0,"Red","Green")
 
Appreciate anyone who can help!
3 REPLIES 3
RKM
Helper III
Helper III

Although this might not be what you want to hear... But I'd probably not put them in Multi card and rather break them individually and format accordingly. Then place them side by side such a way that it appears like a multi card. You need some square box etc. for additional formatting like a combined header etc.

dokat
Continued Contributor
Continued Contributor

Unfortunately, thats the only solution i have

ValtteriN
Super User
Super User

Hi,

I am somewhat sure what you are trying to achieve is not possible. The format measure in multirow card is evaluated in the filter context and in your example it notices always that [GP CAGR]<0,"Red" is true -> because of this the end result is always red. Instead of multirow card you could look into custom visuals or format a table visual to match your desired end result.

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors