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

SUMX On a mesure returning blank results

Capture.PNGHi everyone i'm new on power bi and i have a problem with sumx All as follow:

 

I have a mesure calculated like this to count the types of last year:

 

prop test = CALCULATE(COUNT(f_table1[Type]);PREVIOUSYEAR(f_table1[Date]); f_table1[Type] = "xxxx")

In a seconde mesure i'm trying to get the total of prop test using SUMX

 

sumx column = SUMX(ALL(f_table1);f_table1[prop test])

 I have blank results i dont know why ? could you pleaase help me

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

@ZakEx,

 

You may try a similar way as shown here.

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

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@ZakEx,

 

You may try a similar way as shown here.

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.
Phil_Seamark
Employee
Employee

Hi @ZakEx

 

Are your two calculations both measures?  or is one/both a calculated column?

 

What is the missing column used to create rows?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Hi @Phil_Seamark

 

Both of calculations are mesures based on a date filter, what i'm trying to do is to get the total of the first mesure "prop test", i don't have a calculated column.

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.