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'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
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 |
---|---|
98 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |