Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi PBI Experts,
we need please you help, to calculate below formular in PBI.
Thanks 🙂 Chrsitine
Solved! Go to Solution.
To calculate compliance in Power BI based on the formula you provided (Customers reached target / all customers), you can follow these steps:
Load your data: Import your dataset into Power BI that includes information about customers and whether they reached the target or not.
Create measures:
Here's how you can create these measures in Power BI:
Measure 1: Customers Reached Target
CustomersReachedTarget = COUNTROWS(FILTER('YourTable', 'YourTable'[ReachedTarget] = "Yes"))
Measure 2: All Customers
AllCustomers = COUNTROWS('YourTable')
Measure 3: Compliance
Compliance = DIVIDE([CustomersReachedTarget], [AllCustomers], 0)
Ensure to replace 'YourTable' with the name of your table and 'ReachedTarget' with the column that indicates whether a customer reached the target or not.
By following these steps, you'll be able to calculate and visualize compliance in Power BI based on your provided formula.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
In case there is still a problem, please feel free and explain your issue in detail, It will be my pleasure to assist you in any way I can.
Thank you very much, for the quick and detailed explanation . It works 🙂
To calculate compliance in Power BI based on the formula you provided (Customers reached target / all customers), you can follow these steps:
Load your data: Import your dataset into Power BI that includes information about customers and whether they reached the target or not.
Create measures:
Here's how you can create these measures in Power BI:
Measure 1: Customers Reached Target
CustomersReachedTarget = COUNTROWS(FILTER('YourTable', 'YourTable'[ReachedTarget] = "Yes"))
Measure 2: All Customers
AllCustomers = COUNTROWS('YourTable')
Measure 3: Compliance
Compliance = DIVIDE([CustomersReachedTarget], [AllCustomers], 0)
Ensure to replace 'YourTable' with the name of your table and 'ReachedTarget' with the column that indicates whether a customer reached the target or not.
By following these steps, you'll be able to calculate and visualize compliance in Power BI based on your provided formula.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
In case there is still a problem, please feel free and explain your issue in detail, It will be my pleasure to assist you in any way I can.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |