Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello everyone,
I'm trying to do TWRR (time-weighted return) on Power BI. Therefore, the formula consists of two steps, first the increment value of two periods (+1), and then the product value of the increment.
I did the increment measure, but I can not use a measure in the PRODUCT formula.
Do you have any idea how I can solve this?
Solved! Go to Solution.
Hi @juliliscarmo,
Maybe you can try to use below formula, I extend measure as column and add to variable table, then use this variable table and new column to calculate.
Product Increase = VAR temp = ADDCOLUMNS ( ALLSELECTED ( Table1 ), "InCrease", [increase] ) RETURN PRODUCTX ( FILTER ( temp, [ID] = MAX ( Table1[ID] ) ), 1 + [InCrease] )
Regards,
Xiaoxin Sheng
Hi @juliliscarmo,
Maybe you can try to use below formula, I extend measure as column and add to variable table, then use this variable table and new column to calculate.
Product Increase = VAR temp = ADDCOLUMNS ( ALLSELECTED ( Table1 ), "InCrease", [increase] ) RETURN PRODUCTX ( FILTER ( temp, [ID] = MAX ( Table1[ID] ) ), 1 + [InCrease] )
Regards,
Xiaoxin Sheng
Thank you!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |