Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello comunity,
Hope that you are doing well.
I would like to get a date and concatenate with , I would like the result having text format.
I did that, however I get this error.
= let
Source1 =Text.Combine(Date.ToText(DateTime.Date(DateTime.LocalNow()),"yyyy-MM-dd"),"T00:00:00Z")
in
Source1
meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true]
I see that for using Text.Combine for In, this function receive as a List
I changed like that , then I cannot get a good result.
How can I get it ?
Thanks a lot.
Solved! Go to Solution.
When I finally had to post my problem, and I find a few minutes the result.
Here is below. I add the " { } in the Text.combine because , it's considered as list.
Thanks, It could help someone else.
Hi @Anonymous
Try this instead:
let
Source = DateTime.LocalNow(),
DateOnly = Date.From(Source),
AdjDateTime = Date.ToText(DateOnly, "yyyy-MM-ddT00:00:00Z")
in
AdjDateTime
When I finally had to post my problem, and I find a few minutes the result.
Here is below. I add the " { } in the Text.combine because , it's considered as list.
Thanks, It could help someone else.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 31 | |
| 28 | |
| 24 |