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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Ackbar-Learner
Resolver I
Resolver I

Card visual shows correct value but matrix visual returns nothing

Hi there

 

I created a measure to sum all transactions removing all filters first and then applying my necessary filters. Measure is below

 

BSNetProfit = CALCULATE(sum(GLTransClient[Amount]),All(BSGLCoAHeaders[Count.Level0]),all('Calendar'[Date]),DATESBETWEEN('Calendar'[Date],[BSFirstDate],[BSDateSelected]),GLCoAHeaders[Count.Level0]="P&L")
 
AckbarLearner_0-1665772113081.png

As you can see above, the card visual shows the correct information but same is not reflected in the matrix visual. Now i tried to change the above formula to BSNetProfit = 100000 just to check if it appears and surprisingly it appears on both visual correctly.

 

AckbarLearner_1-1665772245313.png

I cannot see what is causing the issue in the first screenshot. I tried removing all filters on the matrix visual/page and it is still the same.

 

Any help is much appreciated.

 

Ackbar

 

1 ACCEPTED SOLUTION

Hi solution found! I had to use crossfilter to remove existing relationships between tables. But now this is causing another issue on subtotals which I am going to post in another.

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Ackbar-Learner , Try one of the two

 

BSNetProfit = CALCULATE(sum(GLTransClient[Amount]),All(BSGLCoAHeaders[Count.Level0]),DATESBETWEEN('Calendar'[Date],[BSFirstDate],[BSDateSelected]),GLCoAHeaders[Count.Level0]="P&L")

 

 

BSNetProfit = CALCULATE(sum(GLTransClient[Amount]),DATESBETWEEN('Calendar'[Date],[BSFirstDate],[BSDateSelected]),Filter(GLCoAHeaders, GLCoAHeaders[Count.Level0]="P&L"))

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak hi both of them did not work. I am going to figure out a way to share sample data with you as the file contains sensitive information as there are so many things related.

@amitchandak Hi i sent you the sample file in a private message. Please check it. You can post your reply here but please don't post the file.

 

Thanks Ackbar

Hi solution found! I had to use crossfilter to remove existing relationships between tables. But now this is causing another issue on subtotals which I am going to post in another.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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