Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi.
I need help on how to proceed with this case. I have a data model as shown in the picture below.
Here, the budget for product per customer is defined in FactBudget, and sales per customer and product in FactSales.
I have a measure called index = (sum [budget ]) / (sum [sales]). It is formatted in%, and budget is achieved when index >= 100%.
I want to make a visualization in a table that shows districts and sales rep and how many products where they have an index> 100%
What is the easiest way to do this?
Here is the model:
Any help would be appreciated.
@DJ1977 , Try a measure like
Countx(Summarize(FactSales, DimSalePerson[District], DimCustomer[SalesRepId],DimCustomer[ProductName], "_1", [Index]), [Distict])
if needed merge DimSalePerson and DimCustomer
Thanks for reply @amitchandak .
I tried this measure. I guess where you wrote DimCustomer [ProductName] you meant DimProduct [ProductName], right?
When I use measure, I get a result that shows all products that Salesrep has sales. (Sales> 1) I was basically looking for those where the index is> = 100%. Is there any way I can do that?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
25 | |
19 | |
16 | |
8 |
User | Count |
---|---|
58 | |
50 | |
44 | |
21 | |
19 |