Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Dear all,
I am having a table which has the structure like this one:
I want to create a slicer which indicates the column names for the data aggregation.
For example, if I choose the "Age" from the slicer, the data will just select the first three-column and the AGE_GROUP column from the table.
And the data will be collected based on the selection from the filter.
I don't want to use the unpivot solution since the data is quite large, approximately 1 million record and it will increase rapidly, so it would not be an optimal solution.
I also tried to write DAX to create calculated table but it did not work and raise error (The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value):
I hope you guys can instruct me to solve the problem that I am facing. Thanks a lot.
Solved! Go to Solution.
Hello @Anonymous ,
Try using field parameters, check this link to get the instructions https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Hello @Anonymous ,
Try using field parameters, check this link to get the instructions https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Thanks for your suggestion. That's what I am looking for to solve my problem. Thanks a lot.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |