Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi all,
I need your help to create a formula in DAX that ignores a slicer (fliter).
I have a matrix (table) with sales in kilos by customer. On the other side I have a slicer with the name of the route of each sales representative by day. What I need to do is to select a route on the slicer just to filter the customers that have any sales by in this route but not to filter the total sales in kilos of that customer. The idea is to filter the lines in the table with the customers to visit in a particular day but to know the total sales of that customer (not filtered by the route selected). Below you will find the tables and slicers refered.
When selecting a "ruta actual" value I need the table to show only the customers in that route but with the total sales in kilos (kgs) unchanged.
Thanks in advence for your help.
@amitchandak , @parry2k , @mahoneypat ,
Solved! Go to Solution.
Hi @Anonymous ,
I can’t write an accurate formula without your sample data, but I understand your problem.Please refer to https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907 and https://finance-bi.com/power-bi-totals-incorrect/#:~:text=The%20easiest%20way%20to%20fix,the%20rows%20for%20the%20total.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi @Anonymous ,
You can create a measure for Kgs:
measurekgs = IF(HASONEVALUE('Table'[Cliente]), CALCULATE(SUM(..),FILTER('Table',......)),CALCULATE(SUM(..),FILTER(ALL('Table'),......)))
Best Regards,
Dedmon Dai
Dear @v-deddai1-msft,
Still not working. Could you please specify the fields in your meassure.
Best Regards,
Andrés
Hi @Anonymous ,
I can’t write an accurate formula without your sample data, but I understand your problem.Please refer to https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907 and https://finance-bi.com/power-bi-totals-incorrect/#:~:text=The%20easiest%20way%20to%20fix,the%20rows%20for%20the%20total.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
@Anonymous ruta is a different dimension table?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Dear Parry,
"ruta" is a column on sales table.
Thanks for your help
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
45 | |
33 | |
29 | |
26 | |
24 |
User | Count |
---|---|
40 | |
33 | |
19 | |
18 | |
15 |