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
vmkumar1
Frequent Visitor

Conditional Formatting on QTR'y results

Hello All,

 

I am working on a yearly sales analysis report and I am reporting my results Quaterly.

I displayed my results in Matrix visual (Years on Y axis and Qtr's on X axis) as per the image.  I would like to display the numbers in Red format if the Qtr results are less than previous Qtr.

 

EX - 2014 Q2 is 23k but Q3 is 20k- In this scenario i would like to disply it as Red as the sales were less than previous QTR.

I tried to use conditional formating but it needs a default/ base value to compare and my Qtr'y results wont be static.Could you please let me know if there a way?

 

 

QTR Sales.JPGThanks In advance.

 

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@vmkumar1 ,

 

You may use a measure.

Measure =
SIGN (
    CALCULATE ( SUM ( 'Table'[sales] ), PREVIOUSQUARTER ( 'Table'[Date].[Date] ) )
        - SUM ( 'Table'[sales] )
)
Community Support Team _ Sam Zha
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

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@vmkumar1 ,

 

You may use a measure.

Measure =
SIGN (
    CALCULATE ( SUM ( 'Table'[sales] ), PREVIOUSQUARTER ( 'Table'[Date].[Date] ) )
        - SUM ( 'Table'[sales] )
)
Community Support Team _ Sam Zha
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.