Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi Forum!
Need some help with a simple DAX formula calcualting the total order value of the ordernumber as a measure. I can't create my own tables due to restrictions.
Any ideas?
Solved! Go to Solution.
Hi, @Henrikwcarlsson
Thanks for @olgad an @Rupak_bi reply. You can refer to their method, or you can try this.
allSales =
CALCULATE ( [sales], ALL () )
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi, @Henrikwcarlsson
Thanks for @olgad an @Rupak_bi reply. You can refer to their method, or you can try this.
allSales =
CALCULATE ( [sales], ALL () )
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Ok, try following formula. If still not works, share some sample data.
measure = Sumx(allexcept(table, order no.), "Omsättning2 measure)
measure = calculate(sum(table,value),allexcept(table,order no.))
If this works, Please accept as solution.
Hi,
Calculate(Sum(Value), All(Ordernr))
Sum(Value)-the values of your orders
All(either the whole table where the order numbers are residing or just the order number column) depends what you want to achieve. Choose between All() and Allselected(), All() for all the order numbers, Allselected() for all the selected, filtered orders.
Sadly this does not work or I'm doing something wrong. I belive the problem is that "Omsättning2" which is the value I wan't to calculate only exists as a measure and not as a table?
Calculate(Omsättning2, All(Ordernr))
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
17 | |
15 | |
13 | |
10 | |
10 |