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
TimK
Helper III
Helper III

Merge Data created in Measures

I have what i find is a challenging issue, which i will explain:

I have a number of Measures, which basically sumarise 2 different sets of data, but the tags come from the same source but different levels.

I can sumarise the Measures as follows:

Measure 1: it basically can create a table such as this:

ProjectValue
AA125
BB225
CC124
DD253

 

Measure 2: it has a similar structure, but expands by one level [DD]:

 

ProjectDDValue
AAL125
AAM125
BBL 
BBM100
CCL120
CCM 
DDL 
DDM 

 

So what i am after is a way to backfill the missing gaps with the figures from the higher level [Measure 1] so i would end up with this:

 

ProjectDDValue
AAL125
AAM125
BBL225
BBM100
CCL120
CCM124
DDL253
DDM253

 

Is this possible within PowerBI?

 

13 REPLIES 13
DimaMD
Solution Sage
Solution Sage

Hi @TimK Review the file and tell me if this is the desired result
Screenshot_10.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

DimaMD

 

Yes, but because of the complexity of my pbix model, i have to use the 2 x Measures [ARM_1] and [ARM_2] - it is not possible to use the original [Table 1] and [Table 2]

Can anyone help me with this at all - i am stuck!

TimK
Helper III
Helper III

Thanks DataInsights.........

Does not do the job - it does not fill out the blanks.... it returns my third table, but without the Pink text

 

Any other ideas?

@TimK this is what you want
Screenshot_10.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

yes, but as i say, please ignore the 2 tables............

 

i have to use the 2 x measures to create the answer......

 

If you can create a measure using the data in [Measure 1] and [Measure 2] that would be fantastic

@TimK there are no empty lines in the file you provided, Explain your problem in more detail


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

sorry,

here is the PBIX file again - FILE

 

So if you look at the tab [ARM_2] you will see that i have the tags [Project] and [DD]..... however, each [Project] tag does not have both [DD] tags - the L and the M (AA does; BB does not have the M etc)

 

What i am after is on the tab [Results] is to have for each [Project] the L and M tags

 

Where there is not a value from [Table 2], it takes the value from the corresponding [Project] in [Table 1]

 

So it looks like the results in the [Result] tab in Excel

 

Does that help??

@TimK Is this your desired outcome?
Screenshot_10.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

@TimK See the above post and file👆


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Can you share a sample pbix via OneDrive, etc.?





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

Proud to be a Super User!




DataInsights - thanks for your help.......

 

Sorry for the delay, i had to create an example (my actual PBIX file in on a network that i cannot export from - sorry)

 

So my example file is HERE

 

I have also attached the EXCEL here - and the desired output is on the tab [RESULTS]

 

I need to create the result using the 2 x Measures i have created [ARM_1] and [ARM_2] as these replicate what i have in the other model.

 

Thanks for your help

DataInsights
Super User
Super User

@TimK,

 

Try this measure. It returns the first non-blank of its arguments.

 

Merge Measure =
COALESCE ( [Measure 2], [Measure 1] )




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

Proud to be a Super User!




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.