Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello,
I have these formulas:
Actual LC = calculate(sum('Cost Item'[Amount in Local Currency]), 'Cost Item'[After Or Pre]="After")
because there value in "Amount in Local Currency" with Cist Item[After Or Pre] = "Pre")
Solved! Go to Solution.
@Nun , You need to some intermediate grouping if you want sum
like sumx(values('Cost Item'[?]),[Act value])
where ? is level/column/group by after which you want sume
Refer this video:https://www.youtube.com/watch?v=4xn0A43jBz8&t=122s
@Nun , You need to some intermediate grouping if you want sum
like sumx(values('Cost Item'[?]),[Act value])
where ? is level/column/group by after which you want sume
Refer this video:https://www.youtube.com/watch?v=4xn0A43jBz8&t=122s
Hi @amitchandak
thank you so much!
I tried some columns in the fuction "values" and I found the correct one, thanks!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 41 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 103 | |
| 63 | |
| 36 | |
| 35 |