The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
9 | |
8 |