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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Calculate using DAX

CWStoreIDCatIDMatIDSaleVolume
1Store121 $                18,674.64
1Store131 $                15,118.37
1Store111 $              107,588.30
1Store221 $                14,010.44
1Store231 $                  9,789.39
1Store211 $                28,643.33
1Store321 $                14,680.86
1Store331 $                12,438.25
1Store311 $                41,714.96
1Store421 $                  7,908.21
1Store431 $                17,931.38
1Store411 $                39,634.22
2Store121 $                19,838.09
2Store131 $                12,786.31
2Store111 $                44,042.58
2Store221 $                15,187.15
2Store231 $                11,641.98
2Store211 $                24,876.50
2Store321 $                  7,848.64
2Store331 $                  9,554.36
2Store311 $                20,857.48
2Store421 $                  7,537.00
2Store431 $                  6,441.51
2Store411 $                  8,110.98
3Store121 $                20,855.73

there are 52 weeks in column CW for four stores .

Weeding season weeks are-  1,2,3,49,50,51 and 52.

 

How can I calculate - A measure that calculates the total amount of sales during the Wedding Season.

1 ACCEPTED SOLUTION
Adescrit
Impactful Individual
Impactful Individual

HI @Anonymous ,

 

You can try this:

Weeding Season Sales = 
    CALCULATE( SUM('Table'[SaleVolume]) ,'Table'[CW] IN {1, 2, 3, 49, 50, 51, 52})

Did I answer your question? Mark my post as a solution!
My LinkedIn

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

Has your problem been solved, if so, please consider Accept a correct reply as the solution. If not, please provide more details and the output you expect.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Adescrit
Impactful Individual
Impactful Individual

HI @Anonymous ,

 

You can try this:

Weeding Season Sales = 
    CALCULATE( SUM('Table'[SaleVolume]) ,'Table'[CW] IN {1, 2, 3, 49, 50, 51, 52})

Did I answer your question? Mark my post as a solution!
My LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors