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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Humanity
Regular Visitor

Complex Excel Workbook into Power BI + PowerApps

We have an excel book with 10s of thousands of calculations run to generate output from input into a row.

 

So I made a canvas app, and now must translate all the math over.  What is the most effective way to translate this over?

7 REPLIES 7
Anonymous
Not applicable

Import your excel wokr book into power bi and it should recognize the calculaitons 

@Anonymous 

 

It turns all the tables into static text while it imports.  So you get the calculation results but not the calculations.

 

Unless you know of some way around that?

Anonymous
Not applicable

can you send an example of the calculation you are importing ? 

@Anonymous 
 
Here are some examples.
 
=IF($F20="",0,IF(Insulation!AS6="",0,Insulation!AS6))
 
=BF34*BD34
 
Y31: =IF($F31="",0,SUM(BR31:BU31)-SUM(AQ31:AT31)-(IF(OR(CE31=0,CE31=""),0,(CH31*CG31/CE31)/BI31))-IF(OR(BI31=0,BI31=""),0,(BJ31-CG31)/BI31))
 
AI34: =IF($F34="",0,IF((BF34-CD34)*Baseline!$K$75+IF(OR(CE34=0,CE34=""),0,(CD34*CH34)/CE34)-(AG34)-(AH34)<0,0.01,(BF34-CD34)*Baseline!$K$75+IF(OR(CE34=0,CE34=""),0,(CD34*CH34)/CE34)-(AG34)-(AH34)))
Anonymous
Not applicable

The calculations dont seem that intense so I would duplicate the measures in DAX or just have the excel workbook do all the work and connect your power bi report to the output from excel.  

I'm trying to avoid DAX because long term we are translating everything to SQL down the road.

 

Do you happen to know how to connect an Excel book to Power BI in a way that we can strill write to it using PowerApps input fields?

v-shex-msft
Community Support
Community Support

Hi @Humanity,

If these formulas are designed on the excel data table, you cna try to use the 'import' feature to import the whole workbook to power bi desktop. (it include current formulas)

Import Excel workbooks into Power BI Desktop 

If not, I think you need to manually convert these formulas with power bi Dax expressions logic. (since power bi data mode table not include column/row index, so these excel DAX functions not fully works on power bi desktop side)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors