Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I would like to sum article page views for each article id that is in the data for example below and then count those IDs that have a combined page view total over 1000. Could anyone help? It is to put into a bar graph so needs to be a measure rather than a table as when i sum the page views in a table it works.
So i want COUNT article id if the sum of page views for that ID is over 1000
ID Views
234 345
234 667
534 234
534 4536
45 87
45 3
Thanks,
Solved! Go to Solution.
@Anonymous missed a parenthesis
try this
Count over 100 =
COUNTX (
suMMARIZE ( Table, Table[Id], "__views", SUM ( Table[View] ) ),
IF ( [__views] >= 1000, 1 )
)
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous try this
Count over 100 =
COUNTX (
suMMARIZE ( Table, Table[Id], "__views", SUM ( Table[View] ),
IF ( [__views] >= 1000, 1 )
)
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Thanks @parry2k , it just doesnt like the end bit after IF
IF ( [__views] >= 1000, 1 ))
I am trying to rebuild this from QLIK so the qlik expression is this is at all helpful-
@Anonymous
Is this what you want?
Measure 2 =
VAR SUMMARY=CALCULATE(SUM('Table (2)'[VIEWS]),ALLEXCEPT('Table (2)','Table (2)'[ID]))
RETURN IF(SUMMARY>1000,SUMMARY,BLANK())Proud to be a Super User!
@ryan_mayu thanks, this is counting all the article page views though rather than by ID 😞
@Anonymous missed a parenthesis
try this
Count over 100 =
COUNTX (
suMMARIZE ( Table, Table[Id], "__views", SUM ( Table[View] ) ),
IF ( [__views] >= 1000, 1 )
)
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous ,
Measure =
VAR Count=CALCULATE(COUNT('Table'[VIEWS]),ALLEXCEPT('Table','Table'[ID]))
RETURN IF(Count>1000,Count,"-")
Thanks, it doesnt accpet the count but after VAR though. It is giving me a red line under it.
Thanks,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |