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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Git
Frequent Visitor

Visual Calculations

Hi, I am trying to achieve sum at grandtotal level, Reason is I want to Apply conditional formating on total level as well for a matrix visual, But I am not able to get data only at grand total level but getting it after every column, is there a way so that I dont show calculation where blank is there:

Git_0-1708494447548.png


Here is the calculation I was trying:

Git_1-1708494495820.png



2 REPLIES 2
Git
Frequent Visitor

Hi @Anonymous ,

 

Thanks for reply & sharing the documentation, the problem with this approach is we can't independently format Grand total like we can do in charticulator (As here we want to do comparision amongst grand totals only). Here the Min and Max values are to set mannually which is not very helpful plus the Background color formatting applies on all values and grand total as a whole which is not very intuitive for a Report user, as why would one want to compare lowest granularity (Day level data) with Totals (Month Level Data) for e.g. .

It would be greate if we could add data bars at Grand total Level.

Anonymous
Not applicable

Hi @Git ,

Based on your problems, here are my answers.

You can apply conditional formatting rules to totals and subtotals in both table and matrix visuals. You can also read this document for the further study: Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

However, you must manually set the thresholds and ranges for conditional formatting rules under Minimum and Maximum instead of using the lowest and highest values based on the measure you provide.

Use a measure to dynamically set the limits for conditional formatting isn’t directly supported now.

 

To achieve conditional formatting specifically at the grand total level, consider collapsing the entire level in the Matrix Row Hierarchy. Conditional formatting won’t be visible on the parent level of the hierarchy if any child level is expanded. Close all child levels to see the formatting applied to the grand total.

 

 

 

Best Regards

Yilong Zhou

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors