Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 43 | |
| 41 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 188 | |
| 118 | |
| 96 | |
| 64 | |
| 45 |