Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
I have two measures that I would like to combine into one. The reason for this is the one of the measures gives me part of the result I am looking for, and the other measure gives me the other part.
Measure 7 gives me the full month values for Jan and Feb because the formula looks at the 1st day of the next month (our accounting system reports reconciled numbers the next day....so Feb 1 it reports the full month of Jan....Mar 1 it reports the full month of Feb...and so on.
But because March is not finished yet, the value in the 4th column is blank (see table below). I do get the correct MTD value for March using the lastnonblankvalue measure below (see March in 5th column).
Somehow, I would like to combine the two of these?
Solved! Go to Solution.
@Greg_Deckler Genius Greg! And so elegant.
Will mark as solved...but one additional question if I may: The grand total is not summing correctly on any of my previous tries and also on the one you just gave me. Is there a way to fix that? I'd ideally like it to sum the three months.
@Greg_Deckler Genius Greg! And so elegant.
Will mark as solved...but one additional question if I may: The grand total is not summing correctly on any of my previous tries and also on the one you just gave me. Is there a way to fix that? I'd ideally like it to sum the three months.
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
User | Count |
---|---|
140 | |
113 | |
104 | |
76 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |