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! Get ahead of the game and start preparing now! Learn more
Measure1 =
Solved! Go to Solution.
Hi @Analitika ,
Please change the formula of your measures [Measure1] and [Measure2] as below, you can find the details in the attachment.
Measure1 = CALCULATE ( SUM ( 'T1'[TurnCredNC] ) ) - CALCULATE ( SUM ( 'T1'[TurnDebNC] ) )Measure2 = SUMX ( VALUES ( 'T1'[sas_kod] ), MAXX ( VALUES ( 'T1'[Date] ), [Measure1] ) )
If the above one is not what you want, please provide more details on your requirement. Thank you.
Best Regards
Hi @Analitika ,
Please change the formula of your measures [Measure1] and [Measure2] as below, you can find the details in the attachment.
Measure1 = CALCULATE ( SUM ( 'T1'[TurnCredNC] ) ) - CALCULATE ( SUM ( 'T1'[TurnDebNC] ) )Measure2 = SUMX ( VALUES ( 'T1'[sas_kod] ), MAXX ( VALUES ( 'T1'[Date] ), [Measure1] ) )
If the above one is not what you want, please provide more details on your requirement. Thank you.
Best Regards
but it wrong too lookk 12407 4+9=13 but your total is 9 this is wrong
Hi @Analitika ,
Please update the formula of Measure2 as below:
|
Measure2 = SUMX(GROUPBY('T1','T1'[sas_kod],'T1'[Date]),[Measure1])
|
If the above one still not correct, please provide your expected result base on my sample data. Thank you.
Best Regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |