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 dataset with country, date, and customer details. I need to summarise the dataset and show the number of customers in a country in a month.
I need two numbers of customers, 1) crude number of customers and 2) number of customers if their [DaysPrevalent] >=1. How should I revise my query (highlighted part) to get the prevalent customer number? Thank you!
Solved! Go to Solution.
Hi @cindychanyy, try to replace code in curly brackets for PrevalentCustomers with this:
{"PrevalentCustomers", each List.Count(List.Select([DaysPrevalent], (x)=> x >= 1)), Int64.Type}
It works! Thanks so much!
Hi @cindychanyy, try to replace code in curly brackets for PrevalentCustomers with this:
{"PrevalentCustomers", each List.Count(List.Select([DaysPrevalent], (x)=> x >= 1)), Int64.Type}
 
					
				
				
			
		
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.
