The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I've connected an RDL file in Report Builder to a semantic model developed in Microsoft Fabric. Basic measures like SUM work as expected. However, I'm encountering issues with more complex measures such as DIVIDE(Sum1, Sum2) and COUNTDISTINCT(ID), particularly in the total rows.
When I don't apply a specific formula in the report, the total row displays First(measure) instead of recalculating the total as needed. For the DIVIDE issue, I understand that applying a formula directly in Report Builder can resolve it, which is acceptable. However, I have several complex measures to work with, like COUNTDISTINCT(ID), where retrieving all ID values would exceed my Fabric capacity, making it impractical to perform a distinct count directly in the report.
Is there a feasible solution for this? Do you have any advice on handling such scenarios? Additionally, are there alternative tools for creating custom tables for export purposes, other than Power BI, which tends to slow down with complex measures
and large datasets?
Solved! Go to Solution.
Hi @Smackcat ,
Thank you for the follow-up.I would be happy to assist you!
Refer the document for more information:https://learn.microsoft.com/en-us/sql/reporting-services/report-design/report-builder-functions-aggr...
Hope this resolve your query.If so,consider accepting it as solution.
Regards,
Pallavi.
Hi @Smackcat ,
Thank you for reaching out to us on Microsoft Fabric Community Forum!
=IIF(Sum(Fields!Sum2.Value) = 0, 0, Sum(Fields!Sum1.Value) / Sum(Fields!Sum2.Value))
Refer the link below:
https://learn.microsoft.com/en-us/sql/reporting-services/report-design/report-builder-functions-aggr...
If you continue using Power BI for exports, consider optimizing the model by reducing unused columns, minimizing high-cardinality fields, and using aggregations.
If the answer meets your requirement,consider accepting it as solution.
Regards,
Pallavi.
Hi!
Those both measures are already on the model, neverthless they don't make an accurate calculation on the total row on Report Builder, they do work well on the PBI report.
Thanks
Hi @Smackcat ,
Thank you for the follow-up.I would be happy to assist you!
Refer the document for more information:https://learn.microsoft.com/en-us/sql/reporting-services/report-design/report-builder-functions-aggr...
Hope this resolve your query.If so,consider accepting it as solution.
Regards,
Pallavi.