The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello guys,
I would like to calculate the transformation ratio by doing for example (33/678). could you please help me?
thks.
The operation I want to do is divided the column "Gagnée" by the total sum of the column "Total transformation"
Hi:
You can do a couple of measures.(If you don't have [Total ransformations]
Total Transformations = SUM(Table[Total Transformation])
Ratio = DIVIDE([Total Transformations], CALCULATE(Sum(Table[Total Transformations]), REMOVEFILTERS()))
OR
Ratio =
DIVIDE(SUMX(Table, [Total Transformations]),
SUMX(ALLSELECTED(Table), [Total Transformations]))
I hope this solves your question. Thanks..
Thank you for your answer I tried both operations and each time I have an error message: The operator or expression '( )' is not supported in this context.
Hi:
I tested it. See if we are aligned. I will put two ways of doing the share measure.
Is this a good solution now? Thanks
Hi:
At the end can you write ...REMOVEFILTERS())
I beleive I added an extra )
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |