Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
so my query is i have one table with 4 columns but in future i will get few more columns so i need to show data in table if new columns get add, i need to show new columns in table dynamically without manually add it into table.
for this we can do it with unpivot but i don't want to unpivot columns.
Solved! Go to Solution.
Hi @kavyapriya ,
many connectors add new columns in the source automatically to the query in the query editor.
However, to my experience, this won't automatically be reflected in the data model with the next refresh.
Usually, you have to open the query editor, run the data preview there to see the new column, refresh the data and only then will new columns be added to the data model.
But there might be other experiences with it that I am not aware of.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @kavyapriya ,
many connectors add new columns in the source automatically to the query in the query editor.
However, to my experience, this won't automatically be reflected in the data model with the next refresh.
Usually, you have to open the query editor, run the data preview there to see the new column, refresh the data and only then will new columns be added to the data model.
But there might be other experiences with it that I am not aware of.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
okay,
but if i have 2 tables one table is data and another table have data table column headers names so in this case is it possible to show dynamic columns without unpivot
Data Table:
Column Header Table:
Hi @kavyapriya ,
unpivot (other columns) is the way to go, as you cannot reference any of those "future" columns in the data model today anyway.
So what would be the benefit of loading additional columns that would not be used in the datamodel?
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
User | Count |
---|---|
88 | |
82 | |
43 | |
40 | |
35 |