Forum Discussion
Remove filter for Specific Measure or field
- Anonymous5 years ago
Hi Anonymous ,
Based on my test, you need to create a new table for slicer like this:
ForSlicer = DISTINCT(SELECTCOLUMNS('Table',"Select Store",[Store],"Division",[Division]))Then create a flag measure (when values matched , set as 1):
Flag = IF(MAX('Table'[Store]) in ALLSELECTED('ForSlicer'[Select Store]) && MAX('Table'[Division])in ALLSELECTED('ForSlicer'[Division]) ,1)Now could find the matched row according to the flag measure:
Store Measure = CALCULATE(MAX('Table'[Store]),FILTER('Table',[Flag]=1))Division Measure = CALCULATE(MAX('Table'[Division]),FILTER('Table',[Flag]=1))The final output is shown below:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Thanks for your help.
But in this case all the 3 measure are based on same filed .
Dax are -
3.) Overall ---- I need to Calculate D.Count of Incident id without any filter.
This 3 i need to mention in same table.
If i filter Store and Division , Store and Division measure only need to change and Overall measure always needs to be same.
Please help here.
Thank you.
- selimovd5 years agoMost Valuable Professional
Hey Anonymous ,
I gave you a proposal for measure 3 [Overall].
Did you try that? Did it work?
Best regards
Denis
- Anonymous5 years agoNot applicable
Hi ,
You gave me this,
My Overall Measure = CALCULATE( SUM( myTable[Overall] ), ALL( StoreTable[Store] ), ALL( DivisionTable[Division] ) )But there is no Column like Store and Division.Not able to create Cal.Column also.
All the 3(Store,division and Overall) based on calculation of single column (#Incident id column)
So i tried below , but doesnt work.
Overall = CALCULATE(DISTINCTCOUNT(Table[Incident ID]),ALL(Table[Incident ID]))
Thanks,
Mohanraj
- selimovd5 years agoMost Valuable Professional
Anonymous Then what are your slicers? They are not based on columns?