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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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