Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi there,
I am trying to calculate the sum by category as I won't use this category in my visual, so I can't do it with :
Test= CALCULATE( sum('Table'[score]),ALLEXCEPT(table,'table'[abc_item_ID])).
Could this be accomplished without a calculated column?
Thanks a lot, Rita
Solved! Go to Solution.
Hi @Ritaf1983 ,
try this measure
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Ritaf ,
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
SUMMARIZE('Table',[CusOrder],[PORDER],[Customer],[CatalogID],"TotalUnitsPurchased",
SUMX(FILTER(ALL('Table'),'Table'[CatalogID]=EARLIER('Table'[CatalogID])),[POuniysQuantity]))
2. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thanks for your assistance.
Are you sure that your solution is better than the calculated column I created:
Hi @Ritaf ,
see my pbi file. Let me know if the link does not work.
https://1drv.ms/u/s!Aj45jbu0mDVJiyMYU1Vqkgf7UrWI?e=SlISVu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , could you please send us a sample table and your expected result?
Thanks for your assistance.
Are you sure that your solution is better than the calculated column I created:
Hi @Ritaf1983 ,
try this measure
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
That's great! The solution I was looking for! I appreciate your help 🙂
Hello,
I have attached a picture of the data and the expected result.
For every OrdersCustomerItemId, I need to calculate the sum of POunitsQuantity without using OrdersCustomerItemId in the visual.
Right now I am using a calculated column with an earlier function, and I am wondering if there is a better way to accomplish this.
Thank you, Rita
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
50 | |
38 | |
38 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |