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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ReMo66
Regular Visitor

Using Product() in totals calculation

Hi All ...

 

Is it possible to create a measure that is using sum([fieldvalue]) for the daily numbers and product[fieldvalue] for the totals in a month?

 

I have values for all days, so this simplified example:

 

ProductDay 1Day 31Total mth (sum)Total mth (product)
Group A65%26%91%91%
  Prod 120%21%41%45%  <---
  Prod 245%5%50%52%  <---

 

The two marked totals should be calculated as Product([Fieldvalue]+1) - 1

 

 Hope someone can point me in the right direction.

 

Regards, Rene Moller

 

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

@ReMo66,

 

You may add a measure as follows.

=
IF (
    ISFILTERED ( Table1[Product] ),
    PRODUCTX ( Table1, Table1[fieldvalue] + 1 )
        - 1,
    SUM ( Table1[fieldvalue] )
)
Community Support Team _ Sam Zha
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

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@ReMo66,

 

You may add a measure as follows.

=
IF (
    ISFILTERED ( Table1[Product] ),
    PRODUCTX ( Table1, Table1[fieldvalue] + 1 )
        - 1,
    SUM ( Table1[fieldvalue] )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Brilliant, thx!.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors