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,
I need urgent help in the below scenario.
For each month there will be one table in database. In my report always required latest month data, for that I need to define table name dynamically based on currentdate in snowflake query.
I have created query like below using variable, it is working in snowflake server, but not working in Power query editor.
SET V_Mon = (Select 'xxx.DDD_' || Monthname(Current_Date) From Dual)
Select * From table($V_Mon)
Can some one help me how to acheive it.
Thanks in advance
Hi, @SNDG ;
Is your problem solved? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @SNDG ;
we can enter the sql statement when we connect to the database in power bi desktop.
Best Regards,
Community Support Team _ Yalan Wu
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |