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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
THPNO80
Frequent Visitor

Returns a summary table over the most common values between categories

Hi there!

 

I´m trying to get a summary table over the most accessed reports between two or more categories (by function) in a "Log Events" table. The results will be helpful to create a cleaner network analysis chart. See the example below:

 

UserFunctionReportLog_Events
AMarketingReport_A5
AMarketingReport_B6
AMarketingReport_C2
BAccountReport_D1
BAccountReport_A8
CCSReport_B9
DFinanceReport_B10
DFinanceReport_A2
ER&DReport_C3

 

Expected outcome:

 

ReportFunctionsLog_Events
Report_A315
Report_B325
Report_C25
Report_D11

 

I hope you can help me... thanks in advance!

1 ACCEPTED SOLUTION

Hi @tackytechtom I really appreciate your help, it worked! but when applied to the model it didn't get the expected result. I'm missing something else 🤔 Thanks anyway 👍

View solution in original post

4 REPLIES 4
tackytechtom
Super User
Super User

Hi @THPNO80 ,

 

How about this:

tackytechtom_0-1668634672604.png

 

 

Here the code for creating a new table in DAX:

DerivedDaxTable = 
SUMMARIZE (
    'Table',
    'Table'[Report],
    "Functions",  COUNT ( 'Table'[Function] ), 
    "Log_Events", SUM ( 'Table'[Log_Events] )
)

 

Let me know if this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Hi @tackytechtom I really appreciate your help, it worked! but when applied to the model it didn't get the expected result. I'm missing something else 🤔 Thanks anyway 👍

serpiva64
Solution Sage
Solution Sage

Hi,

try

serpiva64_0-1668634165766.png

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

Hello @serpiva64 I really appreciate your help too, but, as I commented above, I didn't get the expected result in the model... Regards! 👍

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.