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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Create a table from info of two tables

Hello

 

I have a state change table with the following info:

 

image.png

And as you can see I have the previous and new state.

The problem is that the intial state is not on the list an is on a different table.

I'm trying to merge that info to this table by changing the table where the intial state is present to match the columns on this one, but without sucess.

What I was trying to do is to add the line with the issueid, End Date, intial state = empty; state =The first state.. I tried Merge but with no luck. Tried addcolumn.. no luck (or doing it wrong). Because actually I need to enter a row...

Any help?

4 REPLIES 4
Phil_Seamark
Employee
Employee

Hi @Anonymous,

 

Sounds like you should be able to complete this in either the Query Editor or DAX.  They will have the same challenge in that if you use APPEND in the query editor or UNION in DAX, you'll need to make sure the rows you are adding have the same number of columns (and matching data types).

 

In your table with the inital state, how similar is that to the table in the screenshot?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Anonymous
Not applicable

image.pngAt the moment I have this, but working on "matching" all the columns

 

 

 

 

Hi @Anonymous

 

So are you making progress or do you still need help? 🙂

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Anonymous
Not applicable

After several cut and edit I manage to make it work.

 

Thanks for the help @Phil_Seamark

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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