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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
geejay
Regular Visitor

How to append queries to calculated columns

 Hello all,

 

I am stuck with a problem that I am really hoping someone can help me with. 

 

I have savings data on a separate table (from query) (CostCentreID - 2015/16 - 2016/17 - 2017/18 etc.), and my main table will have calculated columns to calculate 2016/17, 2017/18 etc. using multipliers from yet another table (I am tackling this part with LOOKUPVALUE). 

 

My question is how can I append the savings rows into my main table where there are exactly named columns (2016/17 etc.). I am happy to create a new table too, but I am unable to do that using UNION. 

 

Please let me know if you need any additional information.

6 REPLIES 6
anithat
Resolver II
Resolver II

Hi @geejay

 

Go to Edit Queries option on PBID, try using "Append Queries" option.

 

AppendQuery.png

That doesn't work with calculated columns as they don't show up on query editor.

@geejay

 

In Power BI Desktop, the calculated column will not be displayed in Query Editor. You can only add Custom Column within Query Editor and use it for appending queries.

 

Capture888.PNG

Regards,

Hi, did you solve your problem? I'm also triying to append queries with calculated columns. 

BI2B
Frequent Visitor

No,

One solution
rewrite the formula dax  in the language m
I'll create a new topic

@geejay

 

you could solve your problem?
I faced a similar

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.