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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
third_hicana
Helper IV
Helper IV

Merge Queries Without Repeating the Values

Hi Everyone. Askig for help regarding my data model and merging columns

 

I have two tables with one-to many relationship. I want to avoid repeating the values of 'Value' in Table 1 when merging to Table 2 using the BOP as common column. Please see the esired result below.

third_hicana_0-1725034600675.png

 

Appreciate your help. Thank you.

 

6 REPLIES 6
Anonymous
Not applicable

Hi @third_hicana ,

 

If you are getting the results based on the Actual column compared to the budget column, then you can refer to the steps below.
I have made some adjustments to the data as I am not sure about the exact logic.


In power query editor, when you get the table below.

vkaiyuemsft_0-1725254092911.png

 


You can create a conditional column.

vkaiyuemsft_1-1725254103811.png

 

Subsequently delete the unwanted columns.

vkaiyuemsft_2-1725254121054.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

lbendlin
Super User
Super User

data model and merging columns

There's your answer. Don't merge.  Use the data model.

@lbendlin  Thank you.

 

How can I create a measure that the capex and opex 'baseline budget £' will only appear once in the table visual? 

third_hicana_1-1725064162156.png

 

 

What would be your criteria? MIN of BOP+Suffix ?

@lbendlin 
The criteria is the BOP + Suffix IDs are under one BOP ID which has a budget below.
The 1,038,010 capex and 191,800 opex 

 

 

If yes then add that filter to your measure.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors