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
Anonymous
Not applicable

Need help with Calculated column

Hi Users,
I'm working on a report with a complex large dataset. Because I cannot reveal the data here, so instead I'm sharing a sample data with the same issue which I'm trying to solve. Below I've attached two images of corresponding two tables - one has employee attributes and the other has the department to which he/she belongs. I want to bring the department data Datewise in the 1st table. How should I do that? Currently, I'm using IFERROR(CALCULATE(LOOKUPVALUE(), date filters ), blank())

But I'm getting blanks for employees with multiple departments even when I have given date slicers (as LOOKUP gives error in many-to-many relations). @amitchandak @Greg_Deckler 

Please help!

Ashishsan_a_0-1671620169292.png

Ashishsan_a_1-1671620290305.png

 

 

3 REPLIES 3
Anonymous
Not applicable

This is the issue with my solution (Blanks)

Ashishsan_a_0-1671629130466.png

 

css207
Frequent Visitor

Try this function.
NATURALLEFTOUTERJOIN(<LeftTable>, <RightTable>)
https://learn.microsoft.com/zh-cn/dax/naturalleftouterjoin-function-dax

Anonymous
Not applicable

This won't filter the department by Dates

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.