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.
Hi Team,
I have extracted a column ( emaildate ) from JSON in power bi desktop and i have created 2 parameters based on that ( From Date and To Date ) now i wanted to link From date and To Date in Advance editor. Could you please help me with m language code here ? as i dont have column emaildate avaialble in main data source. so i cant use this query ( Select * from maindatasource where emaildate >= from date and emaildate <= todate ) in advance editor
Thanks,
Shubham
Hi @Anonymous ,
You could set parameter and use parameter to filter it. You need to create two parameter s in "edit queries" and set filter like below
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjIwMtA31DdUitWBckxROUbIHGOl2FgA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [date = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"date", type date}}),
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each [date] >= startp and [date] <= endt)
in
#"Filtered Rows"
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |