Forum Discussion
M Query filter
Perhaps the data's not available because it is Direct Query - I've re-attcahed the PBIX here and here is a screenshot , the lower slicer is not working
thank you
Hi, richard_wylde
I'm sorry that I can't open your file and can't see any data because you use DQ, so I can't visually see the problem.
You can try to modify your formula:
where status =Text.Insert( """&&""",2,status)
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- richard_wylde5 years agoHelper IV
Thanks v-janeyg-msft - no luck unfortunately, I changed it to :-
where b.status =Text.Insert( """&P_STATUS&""",1,b.status)
but it says the default value of the parameter does not exist :-
DataSource.Error: PostgreSQL: 42703: column "JASON1" does not exist- v-janeyg-msft5 years agoCommunity Support
Hi, richard_wylde
I’m not sure what the custom sql you want is, but according to the error message, it should be a parameter problem, causing the database to find the corresponding column.