The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |