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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
harshoyal67
New Member

summarizing column value

i want to summazige my coloum value and summarize it in to one value set, so as to get one spent and click value for one advertisement.

example

Advertisement                         datetime                             hourly_spent

1 fb-2342234-111                  6/12/2017 10:2:42 pm         250

2 fb-2342234-111                  6/12/2017 11:2:42 pm        420

3 fb-2344334-211                  6/12/2017 10:2:42 pm        784

4 fb-2347556-311                  6/12/2017 10:2:42 pm        985

so i want to get one cumulative value for 1 and 2 data set. that is

Advertisement                  datetime           hourly_spent

fb-2342234-111                                           670

help me with this solution

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @harshoyal67,

 

You can create a measure:

 

Cumulative = CALCULATE(SUM('Table1'[hourly_spent]),FILTER(ALLSELECTED('Table1'),VALUE(LEFT('Table1'[Advertisement]))=1 || VALUE(LEFT('Table1'[Advertisement]))=2))

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @harshoyal67,

 

You can create a measure:

 

Cumulative = CALCULATE(SUM('Table1'[hourly_spent]),FILTER(ALLSELECTED('Table1'),VALUE(LEFT('Table1'[Advertisement]))=1 || VALUE(LEFT('Table1'[Advertisement]))=2))

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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