Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi GURUS,
hope you are doing good !
This is my MCODE which is working fine.
Sql.Database(DataSource, Database, [Query="
SELECT * FROM [GroupFinance].[Voyager Intercompany Journal Data]
where [Entity Code] = '"&PropertyCode&"'
AND [Post Date] >='"&Fromdate&"' and [Post Date] <= '"&Todate&"' "])
Now i want to add list of values in [Entity Code] using PropertyCode parameter.
please help
thanks in advance
Solved! Go to Solution.
You can use:
where [Entity Code] IN ('"&Text.Combine(PropertyCode, "', '")&"')
You can use:
where [Entity Code] IN ('"&Text.Combine(PropertyCode, "', '")&"')
Hi @faheem_Latif_BI ,
I don't understand your request.
Please read the guidelines on how to post your questions to get them answered quickly and correctly:: help how to get your questions answered quickly - Microsoft Power BI Community
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries