March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I two reports that need to do unit of measurement conversions on several fields like weight, speed, volume, etc...
The reports have 4M records and 20M records, respectively. Because we are doing all these calculations in PQ, it of course increases the cost of our refreshes. But I know that is helps with report performance. However, the reports are only using a fraction of the total records (RLS) at any given time, so I'm assuming the report performance increase by doing the calculations in PQ is marginal.
We are doing some testing to see what the best trade-off is, but is there any best practice guidance on this, especially considering reports that get into the +10M records?
Solved! Go to Solution.
Hi @kewaynes, usually different units of measure are attributes of item/product. Therefore, they are part of dimensional tables (or bridge tables in case you have multiple units of measure per single item).
Do you have 4 and 20 million of products? I suppose these tables are fact tables, that contain transactional information about your items. If it's so, you can build the following data model:
Then you create a measure in your report, that performs UoM conversion during the report execution.
I hope it helps! 🙂
Hi @kewaynes, usually different units of measure are attributes of item/product. Therefore, they are part of dimensional tables (or bridge tables in case you have multiple units of measure per single item).
Do you have 4 and 20 million of products? I suppose these tables are fact tables, that contain transactional information about your items. If it's so, you can build the following data model:
Then you create a measure in your report, that performs UoM conversion during the report execution.
I hope it helps! 🙂
Yep. This makes sense. Doing the conversion in the DAX so that it executes at query time is always what I thought the best practice was but wanted to double-check.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |