Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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}
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
13 | |
11 | |
8 | |
8 |
User | Count |
---|---|
17 | |
10 | |
7 | |
7 | |
7 |