Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I need to establish what percentage of a group of staff have a particular software title installed. I have all the required data and have related it in PowerBI but I just cant work out how to group / chop it up correctly to get percentage values.
Initially my data was 4 tables, but I have merged the Hostname table with the staff table and removed staff rows for which I didn't know the hostname.
The AppMap table contains the "Shopping App Name" column, which is main title i want to use - this table maps the varying Software Titles in the Installs table to common application titles.
I want to create a table, which has the columns : Staff[DisciplineName], AppMap[Shopping App Name], Installation Count and Installation %
The Install Data is in the following format :
Hostname, SoftwareTitle
I have managed to get a table with the total installs per discipline, but I cannot work out how to do the percentage column?
Solved! Go to Solution.
In this scenario, you can create several calculated columns in the Installs table. Please refer to following steps:
Discipline = RELATED ( Staff[DisciplineName] )
Total_Installs_PerApp_PerDiscipline =
CALCULATE (
COUNTROWS ( Installs ),
FILTER (
Installs,
Installs[Discipline] = EARLIER ( Installs[Discipline] )
&& Installs[SoftwareTitle] = EARLIER ( Installs[SoftwareTitle] )
)
)
Total_Installs_Per_App =
CALCULATE (
COUNTROWS ( Installs ),
ALLEXCEPT ( Installs, Installs[SoftwareTitle] )
)
Percentage_PerApp_PerDiscipline = Installs[Total_Installs_PerApp_PerDiscipline] / Installs[Total_Installs_Per_App]
Regards,
In this scenario, you can create several calculated columns in the Installs table. Please refer to following steps:
Discipline = RELATED ( Staff[DisciplineName] )
Total_Installs_PerApp_PerDiscipline =
CALCULATE (
COUNTROWS ( Installs ),
FILTER (
Installs,
Installs[Discipline] = EARLIER ( Installs[Discipline] )
&& Installs[SoftwareTitle] = EARLIER ( Installs[SoftwareTitle] )
)
)
Total_Installs_Per_App =
CALCULATE (
COUNTROWS ( Installs ),
ALLEXCEPT ( Installs, Installs[SoftwareTitle] )
)
Percentage_PerApp_PerDiscipline = Installs[Total_Installs_PerApp_PerDiscipline] / Installs[Total_Installs_Per_App]
Regards,
@v-sihou-msft Many thanks for your detailed an accurate response. It was exactly what i needed.
Is this percentage of the Grand Total or the Column Total that you want?
Its the percentage of column total I think i want. I tried grand total, and it was giving me the % installs of all staff and I want the % of install per staff discipline (a column in the Staff table).
A Sum divided by a Calculated Sum filtering the "Row" Dimension should work.
SUM([Value])/CALCULATE(SUM([Value]),ALLSELECTED(RowDimension))
@leinad13 try clicking on dropdown for the Value section -> Quick Calc -> Percentage of grand total. That will display values in percentage.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |