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.
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...
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |