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 team
please help me t reslove this problem
I want to generate a new column in each line there is the product of cellulles selected in green
Solved! Go to Solution.
Hi @anassel,
You can create a index column:
index = CALCULATE(COUNT(Table1[Column1]),FILTER('Table1','Table1'[Column1]<=EARLIER(Table1[Column1])))
Then create a calculated column below:
Column = CALCULATE(SUM(Table1[Column1]),FILTER('Table1','Table1'[index]>EARLIER(Table1[index])))
+ CALCULATE(SUM(Table1[Column2]),FILTER('Table1','Table1'[index]<EARLIER(Table1[index])))
+ Table1[Column3]
Best Regards,
Qiuyun Yu
Hi @anassel,
You can create a index column:
index = CALCULATE(COUNT(Table1[Column1]),FILTER('Table1','Table1'[Column1]<=EARLIER(Table1[Column1])))
Then create a calculated column below:
Column = CALCULATE(SUM(Table1[Column1]),FILTER('Table1','Table1'[index]>EARLIER(Table1[index])))
+ CALCULATE(SUM(Table1[Column2]),FILTER('Table1','Table1'[index]<EARLIER(Table1[index])))
+ Table1[Column3]
Best Regards,
Qiuyun Yu
thank you for your solution .
but I want instead of the SUM I do the product .
Thanx 😉