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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Ramsjo
Regular Visitor

INDEX EQUIV in Dax

Hello everyone,

 

I try to replace a index equiv formula from an excel file in my Power BI file, but I am stuck.

 

This is how my table looks like :

 

 Parameter

A

B

C

D

1

XX

WW

XX

ZZ

2

GG

FF

DD

RR

3

TT

PP

MM

LL

 

The idea is to find for A+1 ==> XX in another table on which I created a relationship on the parameter column.

 

Can you help me on it ?

 

Thx a lot !!

 

 

2 ACCEPTED SOLUTIONS
v-chuncz-msft
Community Support
Community Support

@Ramsjo,

 

You may try using LOOKUPVALUE Function to return the value.

Community Support Team _ Sam Zha
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

I found a solution with the look up value.

 

I unpivoted the columns, and then make a lookupvalue with filters 🙂

 

Thx a lot guys

View solution in original post

7 REPLIES 7
v-chuncz-msft
Community Support
Community Support

@Ramsjo,

 

You may try using LOOKUPVALUE Function to return the value.

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

I found a solution with the look up value.

 

I unpivoted the columns, and then make a lookupvalue with filters 🙂

 

Thx a lot guys

Yggdrasill
Responsive Resident
Responsive Resident

Try this11223344

shebr
Resolver III
Resolver III

 Hi @Ramsjo

 

If you hav made a connection to another table perhaps you can use the RELATED() function. Like @danextian has mentioned, do you have your excel formula for us to see.

 

Thanks

 

shebr

Hello Everyone,

 

This is how the Excel formula looks : INDEX(Table1!$B$2:$E$3;EQUIV(Parameter;Table1!!$A$2:$A$3;0);EQUIV(ColumnName // so A B C D // ;Table1!$B$2:$E$2;0))

 

 

I will try to unpivot the columns, I keep you informed !

 

Thx

Hello @shebr @danextian @Yggdrasill thx for your help,

 

The unpivot way erase the connection with the other table, therefore I can't do what I want after.

 

If you need more information or details, I'm here 🙂

 

 

danextian
Super User
Super User

Hi @Ramsjo,

 

If you were to write your formula in Excel, what would it be?





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors