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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
miguesnet
Frequent Visitor

Power BI : Create automaticall a new table - depivot colums - waterfall chart

Hi, 

I am trying to create automatically a new table from an orginal one to be able to depivot colums and be able to create a waterfall chart. 

 

Source tableSource table

Step 1 : Duplicate table and depivot columns ( effect 1, effect 2, effect 3)

Photo 3 .png

Step 2 : Waterfall chart

Waterfall chartWaterfall chart

Is there a way to automatize step 1 in order that when new datas are available the second table is regenerated automatically with depivoted columns or is there an oter way to get round this issue?

 

Thanks in advance for your help!

 

Mickael

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

Hi @miguesnet ,

 

In simple terms, Duplicate will duplicate the code of the query while Query Reference will only refer the result of the query.

Duplicate is generally used when you would like to create a similar query and you do not want to type the same code. You can make changes to this query.

Reference in Query means you would like to use that Query results in some other queries where your original query remains as a base Query and it can be used in other queries for the further processing. 

 
So it sounds as if you will need to use Reference when you build your new table, it should be automatic after that.
 

Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Nathaniel_C
Community Champion
Community Champion

Hi @miguesnet ,

 

In simple terms, Duplicate will duplicate the code of the query while Query Reference will only refer the result of the query.

Duplicate is generally used when you would like to create a similar query and you do not want to type the same code. You can make changes to this query.

Reference in Query means you would like to use that Query results in some other queries where your original query remains as a base Query and it can be used in other queries for the further processing. 

 
So it sounds as if you will need to use Reference when you build your new table, it should be automatic after that.
 

Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks a lot Nathaniel!

Helpful resources

Announcements
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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors