Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
27 | |
12 | |
11 | |
10 | |
6 |