Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a measure that use a summarize , this query run slowly and i want to tune it :
CALCULATE (
[Cnt],
SUMMARIZE (
Sales,
DimProduct[Product_id]
)
,SUMMARIZE (
Forecast,
DimProduct[Product_id]
)
)
The definition of the measure Cnt as bellow :
Cnt := DISTINCTCOUNT ( Invoice[CustoID] )
There are any solution to optimize that measure ? How can i write the query differently without Summarize
Thanks
Hi, @Anonymous ;
We can only discuss here sorry, you can make up a data similar to your table. And the desired output.
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous ,
Your [Cnt ] measure is DISTINCTCOUNT,and What is required by the second measure? Do you have any examples to explain? Since we do not know the relationship between DimProduct, Forecast, Sales and Invoice, we are not clear about what you want to output with this measure? It's better to share a simple example if you can.
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-yalanwu-msft ,
The business requirement is quetting the number of Unique Customers which who brought products that appear in the Sales and Forecast table
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
22 | |
10 | |
10 | |
9 | |
7 |