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.
Hi All!
I'm looking to write a function similar to the image below:
For example if column one is 20%, I need the values in that row to be multiplied by 1 and so on. Thanks in advance!
Hi @am_i_really
I would first create a index column as multiplier in Power Query. Pay attention to start with number 1.
And then, use this measure:
Medida 2 = SUMX(MyTable, MyTable[Value]*MyTable[Multiplier])
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |