March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
I am trying to calculate the Sales per door with dax, but i need some help In my scenario.
My sales table have sales per costumer, but, i have another table whith the % of distribution per door and the totals are
wrong.
You can get the sample data Here..
THX
Solved! Go to Solution.
HI @Javi77
I think this calculated measure gets pretty close.
AmountPerDoor = IF( ISFILTERED('Door_Location2'[Costumer]), -- THEN -- [%Dist_per_door]*[Amount_by Costumer], -- ELSE -- SUMX(ALL('Door_Location2'[Costumer]),[%Dist_per_door]*[Amount_by Costumer]) )
HI @Javi77
I think this calculated measure gets pretty close.
AmountPerDoor = IF( ISFILTERED('Door_Location2'[Costumer]), -- THEN -- [%Dist_per_door]*[Amount_by Costumer], -- ELSE -- SUMX(ALL('Door_Location2'[Costumer]),[%Dist_per_door]*[Amount_by Costumer]) )
its works!!!
Thank you so much...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
84 | |
66 | |
54 | |
43 |
User | Count |
---|---|
203 | |
106 | |
98 | |
65 | |
56 |