Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I have attached a link to my pbix file.
I have tried writing a measure that returns the last non blank value for Team A, which is 2 but I keep running into different error messages with each variation I try.
It is a simple measure but its getting the better of me - can anyone help?
Thanks
Solved! Go to Solution.
Hello @ArchStanton
Please find the below DAX measure for your requirement
Hope it will help you.
Regards
sanalytics
If it is your solution then please like and accept it as solution
Hello @ArchStanton
The discrepancy of 36 arises due to the last non-blank value of Team C being 12, appearing three times, as expected.
If the last non-blank value for each team member is the maximum among other quarters' KPI values, use the following DAX measure:
Perfect, thanks a lot!
Hello @ArchStanton
Please find the below DAX measure for your requirement
Hope it will help you.
Regards
sanalytics
If it is your solution then please like and accept it as solution
Hi,
I noticed it works for Team A & B but Team C produces 36 instead of 12.
Where is that number coming from?
Hello @ArchStanton
The discrepancy of 36 arises due to the last non-blank value of Team C being 12, appearing three times, as expected.
If the last non-blank value for each team member is the maximum among other quarters' KPI values, use the following DAX measure:
I think I've worked out why this isn't working in my Live data model, its nothing to do with the measures you created, its to do with the data itself.
Thank you once again for your help!
Thanks, that works in both our test pbix files.
However, when I try to apply that to my live data model (which I cannot share), the result = BLANK for every Team I select?
Any ideas why would that be?
ERT Measure =
VAR MaxIndex =
CALCULATE(
MAX('Customer Wait (2)'[Index]),
FILTER
(All('Customer Wait (2)'[KPI]),
'Customer Wait (2)'[KPI] <> BLANK()
)
)
VAR Result =
CALCULATE(SUM('Customer Wait (2)'[KPI]),
FILTER(
ALL('Customer Wait (2)'[Index]),
'Customer Wait (2)'[Index]= MaxIndex),
'Customer Wait (2)'[Area] = "Early Resolution")
RETURN
Result
User | Count |
---|---|
85 | |
84 | |
68 | |
65 | |
56 |
User | Count |
---|---|
126 | |
102 | |
90 | |
84 | |
66 |