Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I am a beginer user of Power BI and hoping that anyone can give me some insights to solve one of the issues that I am currently facing!
I am developing a HR dashboard and would like to create a bar graph showing % of employees who are over 52 years old by business unit to see a retirement risk for the organisation. I have created a measure of a proportion of employees who are over 52 years old as follows.
% Retiring >52 = FORMAT(CALCULATE(SUM('Employee Profile'[Headcount]),'Employee Profile'[Retiring (>52)] IN { "Over 52" })
/ SUM('Employee Profile'[Headcount]),"Percent")
And then I tried to use the measure in a clustered column chart, however, it does not let me add the measure as a value (but as a tooltip).
Your help and advice would be appreciated.
Regards,
Solved! Go to Solution.
Hi @Anonymous
That's happening because using the FORMAT() function returns a text string, which it why the visual won't accept it in the value field.
To format as a percentage, select the measure then in the ribbon menu go to the Modeling tab and change the Format to Percentage
Cheers,
Matt
Hi @Anonymous
That's happening because using the FORMAT() function returns a text string, which it why the visual won't accept it in the value field.
To format as a percentage, select the measure then in the ribbon menu go to the Modeling tab and change the Format to Percentage
Cheers,
Matt
Thank you so much - it worked! Very much appreciated.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
94 | |
79 | |
51 | |
47 | |
47 |