The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I have 3 tables:
1.) Calendar Dimension Table with Day/Month/Quarter etc.
2.) Sales Rep Dimension Table with Name, region, etc.
3.) Sales Fact table with line by line sales by product, Sales Rep, Date, etc.
I'm trying to count the number of Reps with 100k in sales. When I filter for Q1 2024 i want it it count for Q1. When i switch to Q2, I want the number to change.
Solved! Go to Solution.
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
The sample is calculating to count sales rep with over 15K sales amount per quarter.
Total Sales measure: =
SUM(Sales[Sales])
Count Rep with 100K quarterly sales: =
CALCULATE (
COUNTROWS ( Sales_Rep ),
FILTER ( Sales_Rep, [Total Sales measure:] > 15000 )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
The sample is calculating to count sales rep with over 15K sales amount per quarter.
Total Sales measure: =
SUM(Sales[Sales])
Count Rep with 100K quarterly sales: =
CALCULATE (
COUNTROWS ( Sales_Rep ),
FILTER ( Sales_Rep, [Total Sales measure:] > 15000 )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
20 | |
17 | |
15 | |
13 |
User | Count |
---|---|
42 | |
36 | |
23 | |
22 | |
17 |