Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have a table with Invoices
Invoice table:
Im visualising this in a table with:
Projectnr - amount 2015 - amount 2016 - amont 2017 ... and so on to 2021.
And now i need a measure as a column in this tablevisualisation that count if the invoice amount is bigger then 0 for each year pr projectnr, like this:
For example "project 1" has invoices in every year since 2015. Project 1 counts to 6.
For example "project 2" has invocied only since 2020. Project 2 counts to 2.
Im stuck at:
Measure count = count(if...
Solved! Go to Solution.
@stiani Perhaps:
Measure = COUNTROWS(FILTER(SUMMARIZE('Table',[Year],"__Amount",SUM('Table'[Amount])),[__Amount]>0))
					
				
			
			
				Just what i needed. Thanks!
@stiani Perhaps:
Measure = COUNTROWS(FILTER(SUMMARIZE('Table',[Year],"__Amount",SUM('Table'[Amount])),[__Amount]>0))
					
				
			
			
				Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.