The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need help on how to show percentage from 2 colomns in the matrix chart at the power bi using power query or any other function.
See below example from MS excel -
Regions | A | B | Penetration using formula =B/(A+B) |
Africa | 56 | 112 | 66.69% |
how to I achieve this in the Power BI as this A & B value is selected using the filters from large set of dataset.
you can use this measure in order to achieve this purpose :
If you need it in power query a custom column with the below should work:
[B]/([A]+[B])
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Hi,
create a measure with DAX:
User | Count |
---|---|
11 | |
7 | |
5 | |
5 | |
4 |
User | Count |
---|---|
16 | |
14 | |
8 | |
6 | |
6 |