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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Saravanan_ameer
Frequent Visitor

Getting the new column

Dear Expects,

 

I have the table from SQL pulled the data like i have applied the logic.  Column name called "Leave status" in that if the employee is absent it will check another table for the leave applied or and it will give the result.

 

Now the requirement is if the employee is absent then i need to check another sharepoint table also to check the if the employee applied any emercency leave or not.

 

Saravanan_ameer_0-1670230877310.png

 basically i need to compare the SQL table & shrepoint table in power bi then give the output.

 

example: If the employee leave status is Absent and for the selected date if the employee applied leave (I need to compare the start date and end date in that share point table) then the resulf will emerncy leave applied or else not applied.

 

share point table

Saravanan_ameer_1-1670231096300.png

 

sql:

 

Saravanan_ameer_2-1670231198171.png

 

 

 

 

 

 

2 REPLIES 2
MFelix
Super User
Super User

Hi @Saravanan_ameer,

 

When you refer you need a new column do you need it on the model or on a visualization?


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



I need it in model so that i can use anywhere in the report

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.