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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.