Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

dax formula

ResolvedVersion 365

DAX formula

I have a spreadsheet detailing whether a training event has been completed or not. One column has a name and other has either 'complete' or 'incomplete'. I want to work out the percentage to show how many have completed and how many have not. What formula should I use please to create a DAX column?

RE: DAX formula

Hi Lisa,

Thank you for the forum question.

You do not have to do DAX to visualize this.

Drag the field (column) to the value in a visual. Click on the down arrow next to the field name in the value box. Select count. Click again on the own arrow next to the field name in the value box and click Show value as and select Percent of column total.

If you want to calculate it, you cannot do it in a column. You will have to do it as a measure:

% of complete=Divide(Countax(Filter("your table name",["your column name"]="complete"),Countrows("your table name")),Countrows("your table name"),0)

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Sat 8 Jul 2023: Automatically marked as resolved.

 

Training courses

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Power BI tip:

Explore Power BI Templates

Take advantage of Power BI templates to streamline report creation. Templates allow you to reuse custom layouts, themes, and configurations across multiple reports. Create templates for consistent branding or industry-specific reporting standards, saving time and maintaining a cohesive look across your organization's reports.

View all Power BI hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.33 secs.