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.
Hello,
I have a slicer where i choose the type of a report. If i select years i want the table to show column retailer and if i select retailer i want the table to show years. I tried writing a measure, but it failed. Also creating a column if not working because of reference to a slicer value.
I know i can make another column with type (year/retailer) and double the data, but this solution is a last resort.
Year/retailer = if(VALUES(comparison[Year or retailer]) = "Ret vs Ret";SELECTCOLUMNS(Sheet1;"Years";Sheet1[Year]);SELECTCOLUMNS(Sheet1;"Retailers";Sheet1[retailer]))
Thank you for help and sugestions.
Solved! Go to Solution.
Instead of slicers i used buttons with bookmarks which show different visuals.
Hi @akowalski,
Did you solve it?
Best Regards,
Dale
Instead of slicers i used buttons with bookmarks which show different visuals.
Hi @akowalski,
Can you share a sample? A measure needs the context to evaluate. So what's the context column in the table?
Best Regards,
Dale
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 |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |