Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I've been asked by the business to come up with a method to provide fast reporting for the past 8 weeks, while leaving all previous weeks available to query knowing those scenarios will take a performance hit.
Here's the current model:
When the user selects a week in the previous 8 weeks from the date table, which is also on the aggregation table, I can tell that it's working correctly in DAX studio with an aggregation hit. However, once a user selects a week that is NOT on the aggregation table, but is on the date table, DAX studio shows that it's still an aggregation hit and the measure returns null.
It shouldn't be possible for it to have found a match on the agg table since this week number doesn't exist on it:
Any help/direction would be greatly appreciated!
Solved! Go to Solution.
Hi @swolfe2 ,
Sorry for that the information you have provided is not making the problem clear to me.
According to this: However, once a user selects a week that is NOT on the aggregation table, but is on the date table, DAX studio shows that it's still an aggregation hit and the measure returns null.
It shouldn't be possible for it to have found a match on the agg table since this week number doesn't exist on it.
Actually I think It's an expected behavior:
Best Regards,
Eyelyn Qin
Yes, that's the same behavior I'm seeing on my side.
I suppose the DAX that's being generated is just looking for "Is there an aggregated column based off of the year?" and not also "Does this year exist on the aggregated table, too?".
Hi @swolfe2 ,
Sorry for that the information you have provided is not making the problem clear to me.
According to this: However, once a user selects a week that is NOT on the aggregation table, but is on the date table, DAX studio shows that it's still an aggregation hit and the measure returns null.
It shouldn't be possible for it to have found a match on the agg table since this week number doesn't exist on it.
Actually I think It's an expected behavior:
Best Regards,
Eyelyn Qin
Yes, that's the same behavior I'm seeing on my side.
I suppose the DAX that's being generated is just looking for "Is there an aggregated column based off of the year?" and not also "Does this year exist on the aggregated table, too?".
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
115 | |
74 | |
57 | |
47 | |
39 |
User | Count |
---|---|
167 | |
118 | |
61 | |
58 | |
50 |