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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.