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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Trying to merge a measure table with a table

Ok, 

I have an absence table and a measure table with the date of the medical certificates that I can't merge in power query I think because it only exist in the Power BI.

Absence table

NameIPDate (mm/dd/yyyy)
April Day168074912/27/2022
April Day16807491/4/2023
April Day16807491/5/2023
April Day16807491/12/2023
April Day16807491/13/2023
April Day16807491/19/2023
April Day16807491/27/2023
Edward Patterson187732111/8/2022
Edward Patterson187732111/9/2022
Edward Patterson187732111/10/2022

Medical certificates measure table

DateIDName
3/16/20232337266Oscar
1/4/20231680749April Day
1/5/20231680749April Day
11/8/20221877321Edward Patterson
11/9/20221877321Edward Patterson
3/22/20232250748Elena
3/23/20232250748Elena

How do i merge this two tables in the way that a new column appears in the first table that indicates if we received a certificate for that absence. Like this:

NameIPDate (mm/dd/yyyy)Certificate
April Day168074912/27/2022 
April Day16807491/4/2023Received
April Day16807491/5/2023Received
April Day16807491/12/2023 
April Day16807491/13/2023 
April Day16807491/19/2023 
April Day16807491/27/2023 
Edward Patterson187732111/8/2022Received
Edward Patterson187732111/9/2022Received
Edward Patterson187732111/10/2022 
2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

You will not be able to do that merge for the reason that you mentioend.  If you have a seperate physical Medical certificates Fact Table then there are multiple way to get to your desired result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

1. create a composite key (Name+Date) in both tables

2. join the tables in the data model with certificate as the dimension and Absence as fact

3. use RELATED in the absence table to pull in the certificate status (via proof of existence)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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