Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I have a report with live connection (ssas tabular) I'm facing an issue when i start the report as some calculation up to 1 minute to show up.
After troubleshooting , i find that i have a measure that is slower that another as bellow the definition of my measure :
The measure as below run in 7 s
CALCULATE (
[NbOrders],
FactSales[IsValid] = 0
)
Then i have another measure it takes 48 s
CALCULATE (
[NbOrders],
FactSales[IsValid] =1
)
Why the first measure is faster than another even if it's same with different filter
Thanks
As bellow the code of [NbOrders]
CALCULATE ( [Cnt], SUMMARIZE ( Sales, DimProduct[Product_id] ) ,SUMMARIZE ( Forecast, DimProduct[Product_id] ) )
The definition of Cnt as bellow :
Cnt := DISTINCTCOUNT ( Invoice[CustoID] )
Thanks
Hi @Anonymous ,
Can you try this code for [NbOrders]:
CALCULATE (
[Cnt],
FILTER ( Sales, [Product_id] IN VALUES ( Forecast[Product_id] ) )
)
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
can you please share a screenshot of your data model?
The model is huge and the information is sensitive . Can i do it in private ?
@Anonymous
What is the code of [NbOrders]?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |