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
Anonymous
Not applicable

Unable to Get Sum Total in a Matrix Visual

Hi All,

 

I have a matrix visual with several measures added to it as shown below.

My issue is with returning_viewers. It doesn't show the sum like the others. What can I do?

 

returning_viewers = 
var return_viewers_exist = 1
return 
IF([returning_views_format] > 0, return_viewers_exist, 0)

 

Unable to Display Sum Total in Matrix.PNG

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi All,

 

Thanks for all your support here. I was able to finally solve the issue. I did the following:

viewers_count = IF([returning_views_format] > 0, 1, 0)

 

returning_viewers = 
var return_viewers_exist = 1
var Viewers_count = IF([returning_views_format] > 0, return_viewers_exist, 0)
return 
If (HASONEFILTER('ExecutionLog3'[UserName]),  Viewers_count, SUMX(DISTINCT('ExecutionLog3'[UserName]), [viewers_count]))

 

Best Regards,

 

Divo

View solution in original post

16 REPLIES 16

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.