The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I have a 2 slicers - one for areas and one for regions. I need to a measure to show total sales for all areas and regions. I tried the below formula but the error message says I can't refer to more than one table within the REMOVEFILTERS function. Please can someone tell me how to resolve?
Solved! Go to Solution.
You can't refer to columns in different tables in REMOVEFILTERS or ALL. Make a separate REMOVEFILTERS for each column).
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thank you both! 🙂
Use the ALL function instead, referencing the fact table you are calculating sales on. For example:
Measure = CALCULATE(SUM(Table[sales]), ALL(Table))
Proud to be a Super User!
Paul on Linkedin.
You can't refer to columns in different tables in REMOVEFILTERS or ALL. Make a separate REMOVEFILTERS for each column).
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
User | Count |
---|---|
57 | |
57 | |
52 | |
48 | |
32 |
User | Count |
---|---|
161 | |
87 | |
69 | |
48 | |
45 |