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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.