Forum Discussion
KarolinaZet
2 years agoRegular Visitor
How to calculate percentage based on two data sources
Hi, I would like to get a measure that will present the percentage of trained stores. Data is coming from two sources: How to get the following output that I can present in a chart? ...
Syndicate_Admin
Administrator
2 years agoPlease provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
KarolinaZet
2 years agoRegular Visitor
Hi,
Please find the link to sample data here >> https://we.tl/t-aE7zUNv63n
My desired output should be as follow:
| % | TRAINED / TOTAL |
| Belgium | 33% |
| Poland | 60% |
| Spain | 75% |
| Sweden | 71% |
| Switzerland | 33% |
Based on below data:
| TOTAL | Count of rows |
| Belgium | 3 |
| Poland | 5 |
| Spain | 4 |
| Sweden | 7 |
| Switzerland | 3 |
| TRAINED | Distinct Count of rows |
| Belgium | 1 |
| Poland | 3 |
| Spain | 3 |
| Sweden | 5 |
| Switzerland | 1 |
- Anonymous2 years agoNot applicable