Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I really don't know how to form this question, I hope it's not that bad.
What I want is the following:
I have a slicer in which are phone numbers.
In the table is alawys the phone number and the cost, like this (recreated in excel):
Now I need the SUM of all rows in costs from the specific phone number (which would be the SELECTEDVALUE in the slicer).
It would be like this (excel again):
With input I mean the SELECTEDVALUE in the slicer.
In the end the SUM should be shown in a card, but all I really need is the DAX code.
Thanks in advance.
Solved! Go to Solution.
@Anonymous , is that not just a sum of the column. You can use the phone number in slicer it will filter?
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@Anonymous ,
Slicer will take Distinct values. When you place your numeric column on the visual it will be automatcially Summed most of the times.
You don't require DAX in this scenario, if you just want to show your Total cost when Phone selected on the slicer because the values will be summarized and shown on the vislaus with filters.
Rehards,
Manikumar
Proud to be a Super User!
@Anonymous ,
Slicer will take Distinct values. When you place your numeric column on the visual it will be automatcially Summed most of the times.
You don't require DAX in this scenario, if you just want to show your Total cost when Phone selected on the slicer because the values will be summarized and shown on the vislaus with filters.
Rehards,
Manikumar
Proud to be a Super User!
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@Anonymous , is that not just a sum of the column. You can use the phone number in slicer it will filter?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |