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 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:
User | Function | Report | Log_Events |
A | Marketing | Report_A | 5 |
A | Marketing | Report_B | 6 |
A | Marketing | Report_C | 2 |
B | Account | Report_D | 1 |
B | Account | Report_A | 8 |
C | CS | Report_B | 9 |
D | Finance | Report_B | 10 |
D | Finance | Report_A | 2 |
E | R&D | Report_C | 3 |
Expected outcome:
Report | Functions | Log_Events |
Report_A | 3 | 15 |
Report_B | 3 | 25 |
Report_C | 2 | 5 |
Report_D | 1 | 1 |
I hope you can help me... thanks in advance!
Solved! Go to 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 👍
Hi @THPNO80 ,
How about this:
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! |
#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 👍
Hi,
try
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! 👍
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 |
---|---|
47 | |
26 | |
19 | |
15 | |
10 |
User | Count |
---|---|
57 | |
50 | |
44 | |
21 | |
19 |