Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Greetings... here is my problem of the week. Spent 5 days and a lot of code and have came up empty. Hope there is some help for me out there. Having fun trying to figure it out but running into a deadline.
I would like to compare values in the a table and count them if they meet a certain criteria. For each row in the table I would like to count how many times the monthly value is >= 10. The column or measure that I am trying to develop would show all 'Values' in this calculated column to be '0' except for 'State' g,h, and i Which would show 1,2,3 respectively.
The calculation to get the monthly values is
| State | September | October | November | Value |
| a | 5 | 5 | 3 | 0 |
| b | 2 | 2 | 2 | 0 |
| c | 4 | 2 | 1 | 0 |
| d | 3 | 3 | 2 | 0 |
| e | 4 | 3 | 3 | 0 |
| f | 7 | 4 | 2 | 0 |
| g | 4 | 4 | 12 | 1 |
| h | 15 | 3 | 14 | 2 |
| i | 11 | 12 | 14 | 3 |
Solved! Go to Solution.
Try to add a new column with the code below?
Value =
IF([September]>=10,1)+
IF([October]>=10,1)+
IF([Novembee]>=10,1)
I see where you are going. I may not have detailed my setup enough, the month names are not data/calculated columns. The month columns equal the heirachy 'Month' from the 'Start Date' column in the table.
Tried this approach but no cigar... still in the deep end of the pool.
Try to add a new column with the code below?
Value =
IF([September]>=10,1)+
IF([October]>=10,1)+
IF([Novembee]>=10,1)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 21 | |
| 18 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |