Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi ,
I'm having difficulty understanding how values() can be used to restore a filter. I know values() will return a table of unique values, but I don't understand how values() restores the year-quarter filter in my table even though I have written removefilters() in the same function. Also how does the year-quarter values returned from the values() table get linked to the year-month filter in the matrix table ? I think the year-month filter in the table should not work any more since I have write removerfilters().
Below is the video which I used to generate the values() function. Maybe someone can explain to me what Macro Russo means in the video.
https://www.youtube.com/watch?v=LKj4GLJA-lw
Solved! Go to Solution.
@Anonymous
In your formula, you have used REMOVEFILTERS() which removes filters from the whole calendar table then you have used VALUES with Year Quarter as a filter argument in CALCULATE function. Basically, you are providing a table filter to the CALCULATE function whereby the expression is evaluated only with Year Quarter from the Calendar table.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
In your formula, you have used REMOVEFILTERS() which removes filters from the whole calendar table then you have used VALUES with Year Quarter as a filter argument in CALCULATE function. Basically, you are providing a table filter to the CALCULATE function whereby the expression is evaluated only with Year Quarter from the Calendar table.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
94 | |
86 | |
78 | |
68 | |
63 |
User | Count |
---|---|
113 | |
99 | |
97 | |
64 | |
59 |