This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello guys,
Im working with big data set.
I have Running Total measure which calcualte: total supply - total Demand - Remaining Fcst
I need to calculate DC Suppportable
My measure:
All these measure working find when i only select 1 Product ID.
However, when remove filter on 1 product ID it takes forever to load 😢
Can you guys tell me what happens? any suggest alternate measure?
Thank you
The slowness is caused because the storage engine can't perform the IF evaluation used in your SUMX. One small thing you can do to speed it up is to use a variable.
SOH (Donot use) =
SUMX (
VALUES ( 'Market Master'[Plant] ),
VAR ThisSOH = [SOH projected]
VAR ThisRemFcst = [Remaining Fcst to Order]
RETURN
IF ( ThisSOH < 0, ThisSOH + ThisRemFcst, ThisRemFcst )
)
However, to get a big improvement, you'll need to change the logic. What is your [SOH projected] measure? How many values of Plant are there in your model?
Pat
Thank for you recomment Pat.
SOH projected: i tried to get SOH projected by end of each month
SOH (do not use) is just workaround solution. I cant find solution to jump direct to DC support qty after SOH projected 😞
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 24 | |
| 23 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 38 | |
| 28 | |
| 23 | |
| 22 |