Forum Discussion
mkoontz
5 years agoFrequent Visitor
Total for measure column
Power BI 101 question here. Need help getting the correct total to show in a column that is a measure. Measure 1 = SUM(TABLE1 [Project_Actual]) Measure 2 (to get Measure 1 from previous month) =...
- 5 years ago
I was able to fix this using the VALUES function you mentioned above, but just making a few changes. Thank you for the direction you gave me. I appreciate it.
SUMX(Measure 3 =VALUES(dimProject[Project Id]),IF([Measure 1] = BLANK(), 0, [Measure 2] - [Measure 1]))
Fowmy
Super User
5 years agomkoontz
Sharing a sample PBIX file will help understand the model.
You save it in google drive or one drive and share the link here.
mkoontz
5 years agoFrequent Visitor
I was able to fix this using the VALUES function you mentioned above, but just making a few changes. Thank you for the direction you gave me. I appreciate it.
SUMX(
Measure 3 =
VALUES(dimProject[Project Id]),
IF([Measure 1] = BLANK(), 0, [Measure 2] - [Measure 1])
)