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
javedbh
Helper II
Helper II

Condition formatting in Table visual based on Two measures

Hi Everyone,

 

I have two measure in Table visual, one [Average Yield for 2016] for current year's yield till date and [Average YTD Yield Last Week] for current year's yield till last week. I want to somehow highlight/format the [Average Yield for 2016] column based on the following formula:

 

if [Average Yield for 2016] < [Average YTD Yield Last Week] show Red

if [Average Yield for 2016] = [Average YTD Yield Last Week] show Orange

if [Average Yield for 2016] > [Average YTD Yield Last Week] show Green

 

A sample is created in Excel:

 

conditional formatting.png

 

It is not necessary to show these arrows. Changing background color will also work. Please help how can I achieve this or anything similar.

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @javedbh,

 

As far as I know, indicators like red, yellow, green arrows are not available in Power BI Desktop currently. In your scenario, you can create Power Pivot model and KPIs in Excel, then use Import -> Excel Workbook Contents to import and display KPIs in tables. For more information, please refer to this article: Import and display KPIs.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.