Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi i was wondering if someone could help me on this. I have been tasked to run an audit on our report library to work out which reports are the most important as we are migrating to a new system and we want to priortise the work accordingly once the new system is implemented. I have decided to use power bi as it wil be easier to interogate the data as well produce some visualisations.I have ran a SQL extract against our existing database to ascertain when each of the reports have been ran and this provides me with a list of data with basic data such as the name of the report,which department the report is for, what platform the report is developed on,the date the report was ran and who ran it.
I need to now use this data to rank them accordingly based on the frequency they have been ran so basically the ones that are ran the most and the most frequently ie daily will ascend up the heirarchy in terms of priority. I have ran a basic count in order to acertain how many times the reports been ran but from the dates i need to work on average if the report is being ran daily, weekly, monthly or annually.ideally if i can get the above labels together with number of days that would be brillant.
The data is currently all one table as its all off one sql query . Call it 'Report' table.. The dates of execution in Audit Log add date column and the name of the report resides in a report name column. Any advice would be greatly welcomed. I did find a similar request on this in this forum but wasn't exactly what i was after.
If you are using direct query, you need to create the corresponding date, week, month and year columns (on the database or using DAX or M query in PBI), so that you can create different measure based on the conditions of the new columns.
Measure may like below:
daily = CALCULATE (AVERAGE (table[xxxx]),ALLEXCEPT (table,table[Date]))
@Phantomiceman Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
89 | |
87 | |
81 | |
64 | |
49 |
User | Count |
---|---|
123 | |
109 | |
87 | |
67 | |
66 |