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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors