Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
I am facing a new issue on my PBI. I have a table in the following format (rand = random number) :
| month | product | value |
| dec | a | rand a |
| dec | b | rand b |
| dec | c | rand c |
| nov | a | rand a |
| nov | b | rand b |
| nov | c | rand c |
| oct | a | rand a |
| oct | b | rand b |
| oct | c | rand c |
What I want to do is create a new row for each month such as product = d, that will perform a calculation on the value when product = c (let's say 10 times the rand value when the product is c for a given month). So my outuput table should look something like that :
| month | product | value |
| dec | a | rand a |
| dec | b | rand b |
| dec | c | rand c |
| dec | d | 10 * rand c |
| nov | a | rand a |
| nov | b | rand b |
| nov | c | rand c |
| nov | d | 10 * rand c |
| oct | a | rand a |
| oct | b | rand b |
| oct | c | rand c |
| oct | d | 10 * rand c |
Would anyone know how I could perform that ? I need to keep my data in such format so that i can display it in my existing pivot table.
Thanks a lot for your help 🙂
Thomas
Hi @Thomasp75 you can use the below dax to achieve the desire result.
Thank you. However, this is not exactly what I want. Product "d" doesn't exist at all in my first table, I want to create it
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.