Forum Discussion

bkar81_2's avatar
bkar81_2
New Member
2 years ago
Solved

Power BI - CY, PY Calculation - DAX

Dear All,   I have a request in PBI dax. I tried many things, but I am not sure what I am doing wrong. Can you please let me know the solution?   Request: I have a date column (year). I pulled th...
  • Trevor_G's avatar
    2 years ago

    Yes, ALLSELCTED() allows items in the filter context (your page filters) pass through to the calculation. 

     

    More information (with examples) on ALLSELECTED() can be found here: 
    https://www.sqlbi.com/articles/the-definitive-guide-to-allselected/

     

    ALL(), REMOVEFILTERS(), and ALLSELECTED() are key modifiers for the filter context in BI, any time spent understanding them is well worth while.