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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ahmer_malick
Frequent Visitor

Unable to use Excel Formula in Powerbi

 

ahmer_malick_0-1742567651298.png

The first part is constant with the start date and the other part depend on the run rates of the first part when completed.
Sat/Sun to be considered an off day . If sku run rate isn't there then use machine run rate

1 ACCEPTED SOLUTION

Hi @ahmer_malick,

 

Excel-like formulas don’t directly work in Power BI tables, you can approach it using Power Query or DAX depending on your need.

If you can upload or paste a sample of your dataset (Not a Screenshot), I can give you exact M-code or DAX.

 

Regards,

Vinay Pabbu

View solution in original post

6 REPLIES 6
v-vpabbu
Community Support
Community Support

Hi @ahmer_malick,

 

Thanks @Rupak_bi for Addressing the issue.

 

we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Vinay Pabbu

no it didn't work

Hi @ahmer_malick,

 

Excel-like formulas don’t directly work in Power BI tables, you can approach it using Power Query or DAX depending on your need.

If you can upload or paste a sample of your dataset (Not a Screenshot), I can give you exact M-code or DAX.

 

Regards,

Vinay Pabbu

Hi @ahmer_malick,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.


Regards,
Vinay Pabbu

Hi @ahmer_malick,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.


Regards,
Vinay Pabbu

Rupak_bi
Super User
Super User

hi @ahmer_malick ,

 

use "lookupvalue" in powerbi DAX to get the same output as excel XLOOKUP alongwith if statement.

 



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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