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.
@baltermia_edu , is that not just a sum of the column. You can use the phone number in slicer it will filter?
Proud to be a Super User!
Has this post solved your problem? Please mark it as a 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.
I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query.
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!
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!
Has this post solved your problem? Please mark it as a 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.
I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query.
@baltermia_edu , is that not just a sum of the column. You can use the phone number in slicer it will filter?
Proud to be a Super User!
User | Count |
---|---|
373 | |
201 | |
68 | |
65 | |
57 |