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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Trodo7377
Frequent Visitor

Grand total row is not correct

I'm using the following measure as Values in a Matrix. It shows correct numbers for each row in Total column but not in Total row:

m_b1 = 
VAR BaseTable =ADDCOLUMNS(
    SUMMARIZE(
        'abc',
        'abc'[FIB]),
        "sum", CALCULATE(DISTINCTCOUNT('abc'[ID]))
    )
RETURN
SUMX(
    BaseTable,
 IF([sum] > 1, [sum], blank())
)

 

Trodo7377_0-1747915177971.png

 

 

How to change the measure to get correct on Total row?

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

Hi @Trodo7377,

We sincerely appreciate your inquiry posted on the Microsoft Fabric Community Forum.

Please find attached the screenshot and the PBIX file, which may assist in resolving the issue:

vpnarojumsft_0-1747989004880.png


If you find our response helpful, we kindly request you to mark it as the accepted solution and provide kudos. This will help other community members who may have similar queries.
Should you have any further questions, please feel free to reach out to the Microsoft Fabric Community.
Thank you.

 

View solution in original post

6 REPLIES 6
v-pnaroju-msft
Community Support
Community Support

Hi Trodo7377,

We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.

If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.

Thank you.

Hi @v-pnaroju-msft  The customer who ordered Matrix visualisation changed his order to a simple barchart and there is no need anymore using the measure I sent before.

Hi @Trodo7377,

Thank you for the update regarding your client’s revised requirements.

We understand that the original requirement has now changed; however, we would appreciate it if you could kindly review the solution we provided earlier, which was based on your initial query. If the proposed approach addressed your original query, please consider accepting it as a solution. This will greatly benefit other community members who may encounter similar scenarios in the future.
Should you require assistance with the revised requirements, please feel free to share the new details, and we will be pleased to assist you further.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi @Trodo7377,

We sincerely appreciate your inquiry posted on the Microsoft Fabric Community Forum.

Please find attached the screenshot and the PBIX file, which may assist in resolving the issue:

vpnarojumsft_0-1747989004880.png


If you find our response helpful, we kindly request you to mark it as the accepted solution and provide kudos. This will help other community members who may have similar queries.
Should you have any further questions, please feel free to reach out to the Microsoft Fabric Community.
Thank you.

 

techies
Solution Sage
Solution Sage

Hi @Trodo7377 measure seems correct, can you pls share sample pbix file?

― Power BI | Microsoft Fabric | PL-300 | DP-600 | Blog: medium.com/@cseprs_54978

Unfortunately, I cannot share organizational data here.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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