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
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
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!

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