Join 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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi All
I have below formula embedded in my PBIX file to restrict by 2 months worth of data. It works fine when the data loads from Cloudera Impala. However, it doesn't work when the connection is repointed to Azure Synapse- basically the data loads everything when I click refresh. Anyone can help? Thank you.
#"Filtered Rows" = Table.SelectRows(Table,
each ([calmonth] = List.Max(Table[calmonth]) or [calmonth] = List.Max(Table[calmonth])-1)),
#"Kept Errors" = Table.SelectRowsWithErrors(#"Filtered Rows")
in
#"Kept Errors"
Solved! Go to Solution.
Hi @Mimi_Ibrahim ,
Please check this similar post:
Solved: Error When Using Power Query to Restrict Data - Microsoft Power BI Community
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mimi_Ibrahim ,
Try the following.
= Table.SelectRows(#"Changed Type", each [calmonth] = List.Max(#"Changed Type"[calmonth]) or [calmonth] = List.Max(#"Changed Type"[calmonth])-1 )
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
The link you provided is from my other post which is a different issue. This post if for different issue.
Hi @Mimi_Ibrahim ,
Try the following.
= Table.SelectRows(#"Changed Type", each [calmonth] = List.Max(#"Changed Type"[calmonth]) or [calmonth] = List.Max(#"Changed Type"[calmonth])-1 )
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mimi_Ibrahim ,
Please check this similar post:
Solved: Error When Using Power Query to Restrict Data - Microsoft Power BI Community
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 6 | |
| 6 | |
| 6 |