The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
We've just recently started to look into Power BI as sort of our all-in-one solution for obtaining end-of-day reports for our sites, as well as other information based on a site-to-site and employee solution. Our employee who's taken control of the project was able to create some simple Dashboards for each of our sites, but noted that the dashboards are manually re-pinned (by himself) at the end of the day, as they (the dashboards) don't filter by yesterday or today.
(Currently, information is updated around 6PM automatically. After this time, he's using a slicer to select the current date, and then updating the dashboards.)
We're hoping to cutdown on his work, from having him modify the report slicer by hand, and re-pinning each site, to just having the dashboard content update (after the dataset has refreshed from our DB). We found one post slightly related to this, but no definitive solution was ever conceived.
Thank you.
Solved! Go to Solution.
What about using "M" code in your query to pull data only for the current day? Then, each time the data is refreshed, it will only have the current day and since the dashboard tiles should update automatically when the data is refreshed, you would have an automated solution.
What about using "M" code in your query to pull data only for the current day? Then, each time the data is refreshed, it will only have the current day and since the dashboard tiles should update automatically when the data is refreshed, you would have an automated solution.
Hi smoupre,
Thank you for your help, and that seems to be the path that I would like to go. As my mate didn't seem to mention, I'm still fairly new on most of this, so I'm still working on even the most basics of coding right now.
If you could please elaberate just a bit more (in terms of the query filter that would better suit my needs), I would greatly appreciate it.
Thank you very much.
UPDATE: I was able to find the appropriate filter. Thank you again for all of your help!
Well, maybe it's not a one all, end all solution. While I was able to refresh the data via the Desktop app, I received an e-mail with the following error:
Data Source Error: | [Expression.Error] The Date value must contain the Date component. |
Cluster URI: | WABI-WEST-US-redirect.analysis.windows.net |
Activity Id: | c8f2dd59-2015-4f92-89ce-fa9cc30dc3a8 |
Request Id: | f27afd38-988b-2fd8-b64f-0833a6759fc3 |
Time: | 2015-10-06 15:33:07Z |
This was reported after the automated refresh had failed, and after I tried to manually refresh the dataset. I'm assuming this has to do with the filtering that I'm using:
= Table.SelectRows(#"Renamed Columns", each Date.IsInCurrentDay([DATE]))
It's working on another query, so I think I'll scrub what I have no and attempt a fresh start.
Odd.
I matched the queries step-by-step, but then added the Date.IsInCurrentDay segment last, and it seems to work without any issues. I'll pit that error on my inexperience.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
57 | |
42 | |
30 | |
26 | |
23 |