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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.