Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I would like to have a measure obtaining a virtual table where all my slicers (15) selections or non-selections are applied to. With this filtered table, I still have to perform several actions to get my final measure.
Using SUMMARIZE should keep all filters, is what I've read.
There is 1 fact table (v_BI_DATA_AG), 1 calendar table (Calendar) and 2 dimension tables (v_Product_AG and vGeoAG). All relations are set.
Below does not work. Result is not filtered automatically according to all 15 slicer selections. it's not filtered at all.
How should I solve this ? Another way ?
Side question: SELECTEDVALUE only returns when 1 option in slicer is selected. How handle no selection ? And multiple selections ?
Solved! Go to Solution.
Instead of SELECTEDVALUE use VALUES. Learn about TREATAS too.
Instead of SELECTEDVALUE use VALUES. Learn about TREATAS too.
thanks ! using VALUES to capture slicer selection(s) solved it.
However, they have to be defined in top of measure as variables, not to use directly in SUMMARIZE function
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |