Forum Discussion
Dax query dependency
- 1 year ago
Hi Anonymous,
As you mentioned each report belongs to different datasets and their owners are also different here are the workarounds which may work for your requirements.
- You can avoid using DAX by leveraging SQL queries or Direct Query mode. If your datasets are stored in SQL or another common database. Then, write reusable SQL queries or views to dynamically calculate key performance indicators (KPIs). Use Direct Query mode in Power BI to connect directly to the database.
- Paginated Reports enable dynamic data retrieval from multiple datasets. To create these reports, first install Power BI Report Builder. Then, connect directly to multiple datasets within the report builder. Use parameters to dynamically fetch key performance indicators (KPIs) from these datasets.
If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more easily.
Best Regards,
Sahasra.
Hi Anonymous,
Thank you for reaching out to the Microsoft Fabric Community forum.
We suggest Centralized Data Model with Pre-Aggregated Data works here instead of DAX. Build a single, well-structured data model in Power BI that contains all core KPIs (like: Monthly, Quarterly, and Daily Metrics) and use reusable DAX measures and calculation groups to standardize logic in reports.
Then prepare datasets with pre-aggregated metrics using ETL tools like Power Query or SQL so that this minimizes the dependency on DAX and improves report performance. Connect all reports to the centralized dataset, ensuring consistency and enabling faster report creation.
After, Use Calculation Groups in Power BI to apply time-intelligence logic (e.g., Month-to-Date, Quarter-to-Date) dynamically, avoiding repetitive DAX code across multiple measures.
I am attaching the Microsoft Calculation groups link, if you want you can go through it and get an idea of it which may fit your further requirements.
Create calculation groups in Power BI - Power BI | Microsoft Learn
If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more easily.
Best Regards,
Sahasra.
- v-sgandrathi1 year agoCommunity Support
Hi Anonymous,
I wanted to check in on your situation regarding the issue. Have you resolved it? If you have, please consider marking the reply that helped you or sharing your solution. It would be greatly appreciated by others in the community who may have the same question.
Regards,
Sahasra- v-sgandrathi1 year agoCommunity Support
Hi Anonymous,
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,
Sahasra.- Anonymous1 year agoNot applicable
Hi v-sgandrathi - Thanks for your suggestion. But it may not work out as each report belongs to different datasets and its owners are also different. I am looking out for solutions which can dynamically generate dax or pull the numbers from powerbi report without dax