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
hxkresl
Advocate III
Advocate III

Related: pulling in a column into a Fact table from a look up table

I am trying to bring a copy of the Application Name into the mc_alerts table, by creating a Column using RELATED.  That does not work.

Capture.PNG

Reason: I need to show relationship between lineofbusiness and applications on a pivot table 

 

How to do it?   for every alert, there is an applciation affected, so it should be possible. 

 

1 REPLY 1
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @hxkresl,

In mc_mc_alert_mc_applicationset table, you can create a calculated column using RELATED function.

 

 

AppName=RELATED(mc_Applications[ApplicationName])


Then create a calculated column in mc_alerts table like the formula. Please replace the [A] and [B] columns as your actual related table.

AppName1= CALCULATE(FIRSTNONBLANK(mc_mc_alert_mc_applicationset[AppName],1),USERELATIONSHIP(mc_alerts[A],mc_mc_alert_mc_applicationset[B]))


Best Regards,
Angelia

 

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 Kudoed Authors