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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
katan
New Member

Live connection can't use append queries

I have two queries need all data(something like full join or append queries function) at live connection

 

queries1:

select SalesID,InvoiceID,InvoiceDate,InvoiceAccount,CurrencyCode,NumberSequenceGroup,SalesType,month(InvoiceDate) as month,year(InvoiceDate) as year,
Case NumberSequenceGroup When 'CS' Then 'CASH' Else 'CREDIT' End As Term from CustInvoiceJour
where DataAreaID='XXX' and SalesType=3 and NumberSequenceGroup in ('CS') and SalesID<>''

 

queries2:

select a.SalesID,a.InvoiceID,a.InvoiceDate,a.InvoiceAccount,a.CurrencyCode,a.NumberSequenceGroup,a.SalesType,month(a.InvoiceDate) as month,year(a.InvoiceDate) as year,a.InvoiceAmountMST as CnDn,b.MBP_CustInvoiceType
from CustInvoiceJour a Join CustInvoiceTable b On a.InvoiceID=b.InvoiceID And a.InvoiceDate=b.InvoiceDate and a.NumberSequenceGroup=b.NumberSequenceGroup And b.Posted=1 and
(b.MBP_CustInvoiceType=1 or b.MBP_CustInvoiceType=2) And b.DataAreaID='XXX'
where a.DataAreaID='XXX' and a.SalesType=0 and a.NumberSequenceGroup in ('CS')

 

how can I got all data?Thanks a lot.

 

 

 

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @katan,

 

As I know, If you connect data with live connection, Power Query is not avaliable in Power BI Desktop. In fact, the Edit Queries and all related options of that are disabled in the Live Connection mode.

 

So all data transformation needs must be handled before loading data into SSAS model. Because SSAS is not a data transformation tool, you can leverage SSIS to do the data transformation before loading data into the data warehouse, and then process data from the data warehouse into an SSAS data model. 

 

For more details, you could have a reference of this blog.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @katan,

 

As I know, If you connect data with live connection, Power Query is not avaliable in Power BI Desktop. In fact, the Edit Queries and all related options of that are disabled in the Live Connection mode.

 

So all data transformation needs must be handled before loading data into SSAS model. Because SSAS is not a data transformation tool, you can leverage SSIS to do the data transformation before loading data into the data warehouse, and then process data from the data warehouse into an SSAS data model. 

 

For more details, you could have a reference of this blog.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for your help. I need take time to study your reference blog.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.