Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Let's see if I can explain this the right way...Please comment for clarification
I have a calculated measure (total views) that I am using in a table, and when paired with the user ID field, it gives the total number of views per user. I want to be able to count how many are >10. A seperate table cannot be created because I will need to filter by date and location as well. Is there any way to do this? I have the correct table (shown as a visualization) shown below, and the formula (not working) I was trying to use below
Solved! Go to Solution.
You can create a measure like
Views > 10 =
var summaryTable = ADDCOLUMNS( VALUES('Table'[User ID]), "@num views", [Total Views])
return COUNTROWS( FILTER( summaryTable, [@num views] > 10) )
You can create a measure like
Views > 10 =
var summaryTable = ADDCOLUMNS( VALUES('Table'[User ID]), "@num views", [Total Views])
return COUNTROWS( FILTER( summaryTable, [@num views] > 10) )
Looks like this did the trick. Thanks so much becuase I was really struggling with this one
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |