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
Hi
I'm still a simple user of powebi,
I created a measure to calculate the Month-over-month cost variation (MoMDiff) and in the results I have negative and positives numbers.
The table below is filtered MoMdiff > 0.
I would like to sum and isoleted the positive numbers and negative numbers to have a card that displays both sum for better analysis.
Please it would be great if some one could help me.
Thank you in advance
Solved! Go to Solution.
maybe you can try this
Measure = sumx(FILTER(VALUES('Table'[resourceid]),[MoMDiff]>0),[MoMDiff] )
Measure 2 = SUMX(FILTER(VALUES('Table'[resourceid]),[MoMDiff]<0),[MoMDiff] )
Proud to be a Super User!
maybe you can try this
Measure = sumx(FILTER(VALUES('Table'[resourceid]),[MoMDiff]>0),[MoMDiff] )
Measure 2 = SUMX(FILTER(VALUES('Table'[resourceid]),[MoMDiff]<0),[MoMDiff] )
Proud to be a Super User!
Hi Ryan,
Thank you so much for your awnser, it worked fine.
Regards
you are welcome
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |