Hi,
That is not a good practice to have kpis based on calculated columns built in Power Query or even coming from SQL Database.
Having pre computed columns means that you store them in the data model even if you don't use them in the report.... When handling huge amount of datas, that is NEVER the good option, otherwise you will face performances issues.
THe procees is the following
SQL Database is made only to store datas and make queries in order to built the data model at the end. If you dont master SQL Language, you can perform tansformations in Power Query.
Then when tables are ok, you can built your data model (star schema !!)
When you have the proper data model then you can compute kpis in DAX using measures.
Remember SQL databases are transactional tools while Power BI is an analytical tool
Transactional ==> stores datas
Analytical ==> analyses datas
------------------------------
Nicolas MENDEZ
Data & BI consultant
Becom Consulting
------------------------------
Original Message:
Sent: Jul 28, 2022 03:04 AM
From: Mukesh Khandelwal
Subject: Creation of SQL Tables for Power BI Dashboard
Is it good to create all necessary tables with calculated values on SQL database instead of calculating in Power Bi Dashboard
Please advice
------------------------------
Mukesh Khandelwal
------------------------------