Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Sivakumar_G
Regular Visitor

Column Formula help

Sivakumar_G_0-1665646203491.png

Experts,

I need Year 1, year 2 and year 3 cost with respect to Cost A and Cost B columns. Can you please share the formula.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Sivakumar_G , You can have tree measure, as need of column is not very clear

 

year 1= Sumx(filter(Table, Table[Satge] in {"Incorp", "Operation"}), {CostA])

 

year 2= Sumx(filter(Table, Table[Satge] in {"Operation"}), {CostA])*2

 

year 3= Sumx(filter(Table, Table[Satge] in {"Operation"}), {CostA])*3

 

I do not see any date/year in data

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Sivakumar_G , You can have tree measure, as need of column is not very clear

 

year 1= Sumx(filter(Table, Table[Satge] in {"Incorp", "Operation"}), {CostA])

 

year 2= Sumx(filter(Table, Table[Satge] in {"Operation"}), {CostA])*2

 

year 3= Sumx(filter(Table, Table[Satge] in {"Operation"}), {CostA])*3

 

I do not see any date/year in data

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.