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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
lukass
Frequent Visitor

Count number of weeks with a certain value over

Hello Community,

I'm trying to create a card visual showing a "Number of Weeks with Over 200 count"

Screenshot 2023-07-13 083043.png

 

I have two tables, date table and my other table where my ID count comes from, joining on a date field. So far, I've created a measure, "# Over 200" that indicates which week has a value over 200.

Screenshot 2023-07-13 083043.png

 

Now, I need to count those weeks and display a number of weeks in a card visual. Any suggestions? 

Screenshot 2023-07-13 083043.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @lukass ,

 

I suggest you to create a new measure based on [# Over 200].

Number of Weeks with Over 200 count =
SUMX ( VALUES ( 'TableName'[WorkWeek] ), [# Over 200] )

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @lukass ,

 

I suggest you to create a new measure based on [# Over 200].

Number of Weeks with Over 200 count =
SUMX ( VALUES ( 'TableName'[WorkWeek] ), [# Over 200] )

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

mlsx4
Memorable Member
Memorable Member

Hi @lukass 

 

Try this:

OVER 200 COUNT = SUMX('Table', IF([Over 200]=1,1,0))

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors