Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, I have a simple Matrix Below. The rows are 'Calendar'[Month] & 'Commercial Reviews'[SubmissionType].
I have a measure to return a Budget = CALCULATE(AVERAGE('Commercial Reviews'[WOL Margin %]),'Commercial Reviews'[SubmissionType]="Budget").
Where the Budget is blank I would like another Measure 'Budget Lookup' to return the last Budget value by Date. So for Instance April and MAY should return 25% but September should remain at 19.8%.
I've made start with the DAX measure and i've tried a few things to filter on the lastdate but can't get it to work.
@dmbd1904 , You can try lastnonblankvalue . refer
If they are on the last date of the month - you can use closingbalancemonth
https://www.facebook.com/watch/?v=343509629992272
Modify your DAX like below:
Hi @Tahreem24 , thanks for the respoinse. Unfortunately that returns the following error....
A single value for column 'SubmissionType' in table 'Commercial Reviews' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
Also, would the measure need to use LastDate or similar in order to chose the latest budget values?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |