Forum Discussion
SELECTEDVALUE with SUMMARIZE.
Hi all, I know this issue has been brought up already (https://community.fabric.microsoft.com/t5/Desktop/SUMMARIZE-with-FILTER-and-SELECTEDVALUE/m-p/3034175#M1032743) but it appears no solution was given and hopefully it can get new attention by posting this again.
In my case, I am gathering a lot of detailed P&L data for 3 years, which I want to aggregate at country level before all calculations in order to keep powerbi performance reasonably OK. However I want to have flexibility for the end user to select a specific reporting year. Basically I am using summarize to aggregate the data and subsequently I have many measures and user input parameters which all works fine. However to change the year I have set up measures like for Net Sales:
And then my aggregation utilizes the summarize function referencing those measures:
This works fine as long as my measure [Param_ReportingYear] is a hard coded number or for example a formula like
1 Reply
- nsexton12
Resolver II
Have you tried creating a relationship between your calculated table and the table that holds your parameter for year value? In the post you linked, that seemed to resolve the issue for me.
If you include some sample data, I can test further.