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.
Is there a way to change the order in which a slicer acts on a DAX equation? For example I want to see a total sales amount for all products that sold more than 100 units. I have a slicer on store. When the slicer shows one store, the DAX equation of CALCULATE(SUM(Sales), Quantity > 100) would show the total sales in that store for each product that sold more than 100 units in that store. The slicer is applied before the calculate. What I'd like to do is to show the total sales in that store for each product that sold more than 100 units in total (not in the selected store). The slicer is applied after the quantity calculation but before the sum.
interesting and legitimate requirement.
As far as I can tell, that will remove the store context entirely which is not what I'd like to do.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |