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 All,
I get previous month Liabilty measure correctly as follows. But when I am using Month filter it gives a zero value for each month.
How can I fix this error.
Before Selecting the Month Slicer:-
After Selecting the Month Slicer:-
Measure that used:-
Prev Month Liability =
VAR Currentindex=SELECTEDVALUE(GL_LEDGER_ACCESS[index 2])
RETURN
CALCULATE([Liability This Month],
FILTER(ALLSELECTED(GL_LEDGER_ACCESS),GL_LEDGER_ACCESS[index 2]= Currentindex-1))
(I do not use "date table" since my data set have random data with month not with date so I make a new index column for each month I have)
Please Help ,
Best Regards
Dora
Solved! Go to Solution.
Perhaps try:
Prev Month Liability = VAR Currentindex=SELECTEDVALUE(GL_LEDGER_ACCESS[index 2]) RETURN CALCULATE([Liability This Month], FILTER(ALL(GL_LEDGER_ACCESS),GL_LEDGER_ACCESS[index 2]= Currentindex-1))
Perhaps try:
Prev Month Liability = VAR Currentindex=SELECTEDVALUE(GL_LEDGER_ACCESS[index 2]) RETURN CALCULATE([Liability This Month], FILTER(ALL(GL_LEDGER_ACCESS),GL_LEDGER_ACCESS[index 2]= Currentindex-1))
Thank You ,It Worked.
Best Regards,
Dora
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 |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |