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.
I created a measure that is being used as a drill-through category filter. Two different visuals use this measure as a drill through category filter. One of the visuals works without any problem but the other throws an error. The error is:
"The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information."
If I uncheck the filter there is no error or if I pick a category with less number of items to filter against, it works. The sql generated is different in the two cases. For example. in the case of the one that works, there is the OR in the sql whereas in the case of the one that does not work, there is no OR. I believe the problem is associated with too many items in the IN statement. So for the case where it works, the IN ss broken up with the OR. My question is why are the two generated SQLs different and is there a way to rectify this?
OR ([t14].[dev_id] IN (100523476,100527408,100532926,100537411,))
Works Well:
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 |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
51 | |
46 | |
39 | |
19 | |
19 |