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 August 31st. Request your voucher.
Hi,
I have one Fact table which has 36 millions rows, from those i have writen the below measure to to take the maxCalldate data for every store.
But below measure its too low.
Measure : # in Distribution:= CALCULATE(SUM('FctInDistribution'[IsInDistribution]),'Item',Store,Store[CRM Status] = "Active",FILTER(FctInDistribution,FctinDistribution[dmDateCallID] = CALCULATE(MAX(FctInDistribution[dmDateCallID]),FILTER(FctInDistribution,FctInDistribution[dmStoreID] = EARLIER(FctInDistribution[DmStoreid])))))
But below measure its too low.
I tried different ways to increaser the performance, Like created seperate fact table for Maxdates for every store, but that is giving un expected result because of the that maxdate has to apply based on Time Slicer.
Can anyone give me the better solution or re write the measure to give the better performance.
Thanks,
kapil
create your measures in a cube. Not directly on power bi.
Thank you so much your Quick reponse..!
Actually this measure is not in Power BI, it's in Azure Analysis server.( Config : S2 tier model).
Thanks,
kapil
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
10 | |
7 |