Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi Team,
I am using a mesure ToSHow below to filter a Table Visual so that it check latest date unitil the date Selected in Slicer and the filter that record for respective ID.
Surprising when I created a column as ToShowVar=[ToShow] and use this column as filter, it doesnt wthrow an error but data gets filters more than expected.
Any inputs here please
Hi @srlabhe ,
Thanks for reaching out to the Microsoft fabric community forum.
You can check where the issue lies using Performance Analyzer in Power BI Desktop. Go to the View tab -> enable Performance Analyzer -> click Start Recording, then interact with your report. It will show how much time each visual and DAX query takes.
Based on the result try to make required corrections to the DAX measures.
I hope this information helps. Please do let us know if you have any further queries.
Thank you
Hi @srlabhe
What does MaxAsOfDateSelected do? What is the formula?
Hi,
Share some data to work with, explain the question and show the expected result.
Hו @srlabhe
The “Resources Exceeded” message means the query ran out of available memory or processing threads. This usually happens when a measure is evaluated over a very large fact table with many detail fields. In your case, the DAX formula references ALL(Table) inside CALCULATE, which forces the engine to scan the full dataset for every ID.
This type of operation is heavy because it runs row by row on a wide fact table instead of leveraging small dimension tables. When you created a calculated column instead of a measure, the engine could precompute the result once per row, which explains why it didn’t crash but still applied the logic differently.
To handle this better, review your data model.
Use a proper star schema:
Keep your detailed transactions in a single fact table.
Connect smaller dimension tables (like Date, ID, or Category).
Use a calendar table for time-based logic and slicers.
This structure lets Power BI filter efficiently without recalculating over the entire fact.
If you still need to use this logic as a filter, reduce the number of columns in the visual or pre-aggregate data to smaller sets.
More information about star schema is here:
https://learn.microsoft.com/en-us/power-bi/guidance/star-schema
Calender table:
https://radacad.com/all-in-one-script-to-create-calendar-table-or-date-dimension-using-dax-in-power-...
To help further, it would be necessary to see your data model. You can safely upload a sample version (without sensitive data) to any cloud storage (OneDrive, Google Drive, etc.) and share a view-only link.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
There is no model its a query o/p
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |