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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Sathvik123
Helper V
Helper V

linking date from 2 tables

Hello All,

 

I have report where I am having 2 tables chat and call having column recorddate.

I am creating a chart where I need to show health index coming from both the tables fields.

 

From chat table:

 

KPIChatTime = SWITCH(TRUE(),
[Chatmins] <=205,
 [Chatmins] <=25  , 4,
 [Chatmins] <=273,
 [Chatmins]  <=302,
1)
 
 

From calltable:

 

KPICallTime = SWITCH(TRUE(),
[callmins] <=205,
[callmins] <=25  , 4,
[callmins] <=273,
[callmins] <=302,
1)
 
Now I need to show a page which has recorddate and health index calculated from both the above tables.
 
HealthIndex=(callmins*2+chatmins*3)/(callmins+chatmins)                (just example calculation)
 
But If I take recorddate from any of the above tables I am getting wrong health index .because calculated field values are coming wrong for other table.
If I take record date from call table then chat table values coming wrong and vice versa
 
I think I need to create a table for record date and link.
Not sure how to fix this..
Could any one please help
 
 
1 REPLY 1
Idrissshatila
Super User
Super User

Hello @Sathvik123 ,

You could create a seperate date table that you connect to it both tables using the date column, and then use this new date table in your visualizations.
 you could check this link https://www.youtube.com/watch?v=-li7sxUxEqA

or this one

https://youtu.be/WybnTHDl-AM

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos 👍

 

Follow me on Linkedin

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.