98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Power BI training and help » Creating a custom calculation between 2 tables | Forum
Creating a custom calculation between 2 tables | Forum
Resolved · Medium Priority · Version 365
David has attended:
Excel Advanced course
Power BI Reporting course
Power BI Modelling, Visualisation and Publishing course
Creating a custom calculation between 2 tables
Hi,
I am trying to create a custom calculation using 2 separate data tables.
The calculation is vacancy rate which is a basic calculation total headcount and number of live vacancies.
I have a data table with a list of employees (So would be count) and a data table with a list of vacancies (Again would be count). the calculation would be
count of vacancies/count of headcount=vacancy rate
RE: Creating a custom calculation between 2 tables
Hi David,
Thank you for the forum question.
I do not know the name of your tables or your headers, but you will need the Divide function and two Counta functions.
vacancy rate=Divide(Counta(NameofTable[Nameofcolumnheader]
),Counta(NameofTable[Nameofcolumnheader] of headcount),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
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
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Power BI tip:Utilize Relationships EffectivelyEstablish clear and meaningful relationships between tables in your data model. Proper relationships enable Power BI to navigate and aggregate data accurately. Pay attention to cardinality and cross-filter direction when setting up relationships to ensure the results align with your analytical requirements. |