Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello.
So I had this Resources Exceeded error and did google. Found out that I have to run the performance analyzer.
So I did and check every single measure I wrote. So the result was one of my measure took almost like 30 seconds.
I am trying to lighten this measure. but Still cant do it. Can anyone please help me lighten this measure ?
The measure that is working too slow is:
Measure4 = SUMX(GROUPBY(Answer, Answer[CustomerID], Customer[Channel], CyclePlan[Period]),
IF([ProductType1]>=0.91 && [ProductType2]>=0.91, 1, 0))
so it uses 2 other measures. which are [ProductType1] and [ProductType2]
@Anonymous , _1 is new column in summarize, that we will use in sumx .
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@Anonymous , Not very clear. Try like
SUMX(summarize(Answer, Answer[CustomerID], Customer[Channel], CyclePlan[Period],"_1",IF([ProductType1]>=0.91 && [ProductType2]>=0.91, 1, 0)),[_1])
@amitchandak thank for your response.
may I ask you what does "_1" exactly do ? wrote this measure but this can not display the visual .
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |