Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
admin_xlsior
Post Prodigy
Post Prodigy

Add row for Direct query

Hi,

 

Just looking for some ideas, I'm using Direct Query however there is one table that I feel I need to add additional row, at least 1 row.

Take example I have a table for grouping something like :

Group idName
Group01High
Group02Low

 

For some reason, I need to add another row for Group03:Medium, but it is only reside in my Power BI, not in my data source.

Is it possible?

 

Thanks,

1 ACCEPTED SOLUTION

Purely DirectQuery while adding local data sounds contradictory to me. Either add the row in the source or use a mixed mode. To not be mixed mode, you'd need the additional row to be DirectQuery too.

View solution in original post

5 REPLIES 5
Padam
Regular Visitor

You can add a Union statement in the Power Query Editor with your existing query. 
Eg: 

Select distinct Column1 from Table1

UNION

Select "DynamicData" as Column1

amitchandak
Super User
Super User

@admin_xlsior , if you ready to make this table as import mode table you can create a table using enter data with this new entry and append and create a table, that table will be an import mode table. Others can be still direct query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

 

Problem is I can't have hybrid/mixed mode. Need to be pure Direct Query mode. That's why whether probably there is some trick to add the row. I'm not sure how, probably from power query first or something else.

 

Thanks,

 

 

Purely DirectQuery while adding local data sounds contradictory to me. Either add the row in the source or use a mixed mode. To not be mixed mode, you'd need the additional row to be DirectQuery too.

Yes, I actually understand this, only try to "push my luck". 😀

Then it is ok. 

Thanks,

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.