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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.