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
Syndicate_Admin
Administrator
Administrator

DESREF function

Good

how could I get a reference function in powerbi like DESREF, to construct the following formula:

A2A3
201

=YES. ERROR(SI(DESREF(A2; A3;0;1;1)>0;(A2-DESREF(A2; A3;0;1,1))/(DESREF(A2; A3;0;1;1));"");"")

Greetings.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

I assume you mean the OFFSET function?  

 

Please describe your business problem/logic. What are you expecting as an outcome based on your sample data?

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Syndicate_Admin 

 

There is no similar function in Power BI, but usually we can get the same outcome with some DAX calculation. Can you provide some sample data so that we can create a DAX expression that may work? It seems you are referring to a value in the same column to calculate a percentage value. Is 'A3' a fixed value? What is the relationship between 'A2' and the referred value? And do you calculate this formula for only a cell or for a column?

 

Best Regards,
Community Support Team _ Jing

lbendlin
Super User
Super User

I assume you mean the OFFSET function?  

 

Please describe your business problem/logic. What are you expecting as an outcome based on your sample data?

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!

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.