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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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