Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Would like to find % from total (country based) for each company: the sample data as:
| Country | Company | Sales | % from All total (countryBased) |
| DK | A | 8 | ? (8/ (8+5) |
| DK | B | 5 | ?(5/ (8+5) |
| SE | X | 6 | ? |
| SE | Y | 7 | ? |
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a measure.
Percentage by country: =
VAR _countrysales =
CALCULATE ( [Sales:], ALLEXCEPT ( Data, Data[Country] ) )
RETURN
DIVIDE ( [Sales:], _countrysales )
Hi,
Please check the below picture and the attached pbix file.
It is for creating a measure.
Percentage by country: =
VAR _countrysales =
CALCULATE ( [Sales:], ALLEXCEPT ( Data, Data[Country] ) )
RETURN
DIVIDE ( [Sales:], _countrysales )
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 9 | |
| 8 | |
| 7 |