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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

vlookup

Hello 

 

I need to create a calculated column from other column wich shows certain quantity , when the column "Planta" and the column "Centro_Receptor" exchange positions I need the "cantidad" value in other column

For example for the week 51 form 1024 to 1023 is 166 and form 1023 to 1024 is 424, so the result must be 

0

424

0

166

 

wqws.PNG

 

I need some help please!

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

May be something like this

 

Column =
VAR VAL =
    LOOKUPVALUE (
        [Cantidad],
        [PLANTA], [CENTRO_RECEPTOR],
        [CENTRO_RECEPTOR], [PLANTA]
    )
RETURN
    IF ( VAL = [Cantidad], 0, VAL )
Anonymous
Not applicable

Hello @Zubair_Muhammad 

 

Thanks for the answer, unfortunatly it didnt worked, i think might be because I have other values in the "Semana" column and in the planta column


Do you think anorther solution?

Hi @Anonymous,

 

To get the solution quickly, please share your sample data as table format and your desired output so that we can copy and test on it.

 

Best Regards,

Cherry

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.