Happy new year to All,
These formula give me the total sum of all the sales. What I need is only for the totals of the customer name.
SUM(SELECT( Orders[Total Cost],in([Name],list[_THISROW].[Name])
If(isblank([Name]),0,SUM(SELECT( Orders[Total Cost], ([Name] = [_THISROW].[Name]))))
Thanks
Your second expression looks good to me. Doesnโt it work?
Hi,
No it doesnโt. It gives me the total of all.
Please see the image for ref.
Iโm afraid I donโt understand what the cause of the problem might be. I hope someone else can help. Good luck!
Hi all,
Anybody can help please?
Hi @reggieneo Could you please try
If(isblank([Name]),0,SUM(SELECT( Orders[Total Cost], ([Customer Name] = [_THISROW].[Name]))))
I made a little app called โTotal practiceโ with the following expression:
if(isblank([first_name]),0,sum(SELECT( MOCK_DATA[Amount], [first_name] = [_THISROW].[first_name])))
The table name and the name of the columns are different but the expression works.
You can find the sample app here:
Foolish me. Itโs an obvious mistake . Thanks. It worked!
Thanks for effort to help me too Kirk.
User | Count |
---|---|
41 | |
29 | |
22 | |
20 | |
15 |