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
Naveennegi119
Helper III
Helper III

match data

Hi All,

 

download power bi file link:- https://drive.google.com/file/d/1VyzLTsDMqCvo6JpQcKprJKCxoDLgMTqD/view?usp=sharing

 

let me explain what is the problem

Situation -1.JPG

Now you see image when I select EmP-01 from slicer it matching value perfectly.

 

Situation -2.JPG

but when I selected EmP-02 from slicer, there only three weekname in EmPdata but matching column show four weekname. it's contain EmP-01 weekname also.

Tried many dax, nothing get

in this pbix I'm using Column = LOOKUPVALUE(Empdata[Weekname],Empdata[Weekname],MonthData[Weekname]) this.

 I want only show match data referance of EmP slicer.

 

Best Regards,

NICK

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Naveennegi119

Check your relationship between Emp to MonthData and change it from Single to Both(See the screenshot).

Capture.PNG

Hope this will help you!!!

View solution in original post

Hi @Naveennegi119,

 

Please use this formula instead. 

Column =
LOOKUPVALUE (
    Empdata[Weekname],
    Empdata[Weekname], MonthData[Weekname],
    Empdata[EmP], MonthData[EmP]
)

match_data

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Naveennegi119
Helper III
Helper III

 

Hi @Naveennegi119,

 

Please use this formula instead. 

Column =
LOOKUPVALUE (
    Empdata[Weekname],
    Empdata[Weekname], MonthData[Weekname],
    Empdata[EmP], MonthData[EmP]
)

match_data

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-jiascu-msft,

 

Thanx. for help

 

Best regards,

NICK

 

 

 

Anonymous
Not applicable

Hi @Naveennegi119

Check your relationship between Emp to MonthData and change it from Single to Both(See the screenshot).

Capture.PNG

Hope this will help you!!!

Hi @Anonymous,

 

I have many relationship in my power bi file. both side relationship already relate with data.  So it's occuring error.

 

but thanks to reply and help.

 

I try to figure out your solution work for me.

 

 

Best Regards,

NICK

Anonymous
Not applicable

Hi @Naveennegi119

I have created both side relationship and it's working fine with your data. See the pbix file for more details.

Download pbix file

 

Hi @Anonymous,

 

I know ur solution(what you are trying to teach me). but I can't use it my power bi file because there are already both side relation in my power bi file. I share only the data where I stuck.

 

Best regards,

NICK

 

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.