Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Dear Experinced one
I have requirement wher in i have showcase all columns value at cell level
I have tried dax measure as Calculate (Sum(Value),AllSelected(Dataset) which is giving me grand total in all cells, Please help
below is the attached dataset:
Solved! Go to Solution.
@GAURAV7781
You should filter the Periods to get your expected result. Try this measure:
Measure = CALCULATE(SUM([Value]),FILTER(ALLSELECTED('Table'),[Period]=MAX([Period])))
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@GAURAV7781
You should filter the Periods to get your expected result. Try this measure:
Measure = CALCULATE(SUM([Value]),FILTER(ALLSELECTED('Table'),[Period]=MAX([Period])))
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hi, @GAURAV7781 , you might want to tweak your measure this way,
CALCULATE ( SUM ( 'Dataset'[Value] ), ALLSELECTED( 'Dataset'[Brand] ) )
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
@GAURAV7781 , if you need a sum up regardless of any filter on brand, the measure is
CALCULATE ( SUM ( 'Dataset'[Value] ), ALL( 'Dataset'[Brand] ) )
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
@GAURAV7781 , Try an check this measure
I think this should work
Calculate (Sum(Dataset[Value]),AllSelected(Dataset)))
i tried but but when i select brand this does not show column total
User | Count |
---|---|
141 | |
113 | |
104 | |
78 | |
64 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |