cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

Accepted Solutions
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
Microsoft
Microsoft

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.

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

Helpful resources

Announcements
November Update

Check it Out!

Click here to read more about the November 2020 Updates!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform October Community Highlights

Check out the top community contributors across all of the communities

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors