Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to create a measure With calculate function which has a filter also. but when I applied that measure to the table it was not overriding the slicer.
TDP (test)* = var TDP_ITEM = CALCULATE(SUM(src_fact[WEIGHTED_DISTRIBUTION__W_]),FILTER(src_product,src_product[HIER_LEVEL_NAME] = "ITEM"))
Is there any way that I can get rid of this slicer on this DAX?
Solved! Go to Solution.
Hello
you can try using ALL() on the src_product table
Like this
TDP (test)* = var TDP_ITEM = CALCULATE(SUM(src_fact[WEIGHTED_DISTRIBUTION__W_]),FILTER(ALL(src_product),src_product[HIER_LEVEL_NAME] = "ITEM"))
Regards
Hello
you can try using ALL() on the src_product table
Like this
TDP (test)* = var TDP_ITEM = CALCULATE(SUM(src_fact[WEIGHTED_DISTRIBUTION__W_]),FILTER(ALL(src_product),src_product[HIER_LEVEL_NAME] = "ITEM"))
Regards
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |