Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Phantomiceman
Frequent Visitor

Ascertaining Frequency of an event

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.

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

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]))

Greg_Deckler
Community Champion
Community Champion

@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.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.