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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
MY CODE:
let
Fonte = Xml.Tables(Web.Contents("http://sbripvs0022/CronetJVX//pido/getData?p_pido=50000000681&SHIFT_DATE2=19082020000000&SHIFT_DATE1=23082020000000&p_crosscompany=0&p_format=XML&p_querytimeout=180&p_userid=TVEN/tven@cronet_cpbritu1")),
Table0 = Fonte{0}[Table],
#"Tipo Alterado" = Table.TransformColumnTypes(Table0,{{"WORK_CENTER", type text}, {"FUNCTION2", Int64.Type}, {"FUNCTION4", type text}})
in
#"Tipo Alterado"
If I change the fields _DATE1=23082020 TO _DATE1=24082020 and _DATE2=19082020 TO _DATE218082020, CAN I update the date.
DO WE HAVE an easier way to change THOSE two fields, directLY in THE REPORT?
Example: A filter when I write: 20082020, change in the date field, without the need to change the database.
Solved! Go to Solution.
Hi @Anonymous
I think you may want to change the Date Field when you change the Fields in _Date1 and _Date2.
You can try replace value function in Power Query Editor.
Select Date Field, right click and replace the old date by new one.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
I think you may want to change the Date Field when you change the Fields in _Date1 and _Date2.
You can try replace value function in Power Query Editor.
Select Date Field, right click and replace the old date by new one.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!