The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have a requirement to pivot up a column, where number of attributes may increase in future.
For example, I have a column Department, with values 'Dept1' and 'Dept2', which on pivot up gives me two columns 'Dept1' and 'Dept2'. These columns can be pulled in my Power BI reports.
Now in future there is one more dept 'Dept3' added to the Department. Now the pivot up gives me three columns 'Dept1', 'Dept2' and 'Dept3'. Is there a way to dynamically include these columns in the Power BI report (so that I can avoid manually pulling the new column in the report, every time a new dept is added?
Thanks!
@Smit wrote:
Hi,
I have a requirement to pivot up a column, where number of attributes may increase in future.
For example, I have a column Department, with values 'Dept1' and 'Dept2', which on pivot up gives me two columns 'Dept1' and 'Dept2'. These columns can be pulled in my Power BI reports.
Now in future there is one more dept 'Dept3' added to the Department. Now the pivot up gives me three columns 'Dept1', 'Dept2' and 'Dept3'. Is there a way to dynamically include these columns in the Power BI report (so that I can avoid manually pulling the new column in the report, every time a new dept is added?
Thanks!
There's no such dynamically way. May I know why you'd like to pivot the column, maybe you don't need to do that at all, just put that column to legend field in a visual or put that column to column field in a matrix visual.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
1 | |
1 | |
1 |