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
damit230183
Helper I
Helper I

How to sum total email read by group

Hi, 

 

Need help in to calculate sum of Total read by group    (Total send by week).

 

In this case, every Friday email send out to 3000 users once then need to track how many users have read that email. Please refer table below.

 

Table is about email send to how many users weekly which 3000....now I want to calculate about how many total users have read that email as seen in new image below. Some day there will be more someday there will be less i just want add difference as seen image below. Total read should not be more than 3000.

 

damit230183_0-1769628192388.png

In this case for 1 week total users who got email are 3000, but till the week finish only 2950 has read that email.

 

Any suggestion or advice ?

 

Thanks

2 ACCEPTED SOLUTIONS
danextian
Super User
Super User

Hi @damit230183 

Your requirements are somewhat unclear. Assuming you want to sum the total reads once per week and that the weekly read count always increases, create a week indicator column and define the following measures.

Week Number (From First Friday) = 
VAR FirstFriday =
    CALCULATE (
        MIN ( 'Table'[Date] ),
        FILTER (
            ALL ( 'Table' ),
            WEEKDAY ( 'Table'[Date], 2 ) = 5   -- Friday (Mon=1)
        )
    )
RETURN
INT ( ( 'Table'[Date] - FirstFriday ) / 7 ) + 1
Total Sent = 
SUMX (
    VALUES ( 'Table'[Week Number (From First Friday)] ),
    CALCULATE ( MAX ( 'Table'[Total] ) )
)

Total Read = 
SUMX (
    VALUES ( 'Table'[Week Number (From First Friday)] ),
    CALCULATE ( MAX ( 'Table'[Read] ) )
)

danextian_0-1769659906949.png

Please see the attached pbix.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1769730413593.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

10 REPLIES 10
ryan_mayu
Super User
Super User

@damit230183 

I think you posted two similar questions. pls see if the answer in that post is helpful.

 

Re: Need help in to sum difference only based on w... - Microsoft Fabric Community





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

Proud to be a Super User!




danextian
Super User
Super User

Hi @damit230183 

Your requirements are somewhat unclear. Assuming you want to sum the total reads once per week and that the weekly read count always increases, create a week indicator column and define the following measures.

Week Number (From First Friday) = 
VAR FirstFriday =
    CALCULATE (
        MIN ( 'Table'[Date] ),
        FILTER (
            ALL ( 'Table' ),
            WEEKDAY ( 'Table'[Date], 2 ) = 5   -- Friday (Mon=1)
        )
    )
RETURN
INT ( ( 'Table'[Date] - FirstFriday ) / 7 ) + 1
Total Sent = 
SUMX (
    VALUES ( 'Table'[Week Number (From First Friday)] ),
    CALCULATE ( MAX ( 'Table'[Total] ) )
)

Total Read = 
SUMX (
    VALUES ( 'Table'[Week Number (From First Friday)] ),
    CALCULATE ( MAX ( 'Table'[Read] ) )
)

danextian_0-1769659906949.png

Please see the attached pbix.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi @damit230183 ,

Thank you for reaching out to the Microsoft Community Forum.

 

Hi @danextian , Thank you for your prompt response.

 

Hi @damit230183 could you please try the proposed solution shared by @danextian  ? Let us know if you’re still facing the same issue we’ll be happy to assist you further.

 

Regards,

Dinesh

Hi @damit230183 ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.

 

Regards,

Dinesh

krishnakanth240
Power Participant
Power Participant

Hi @damit230183 

Are you looking to calculate the Difference column as output?

Thanks for your response. 

 

Yes I am looking for difference between rows then whatever number we get from difference should be add (Sum).

Ashish_Mathur
Super User
Super User

Hi,

Just cannot understand your requirement.  Share the input data in a format that can be pasted in an MS Excel file.  Show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Sure, first of all Thanks for responding.

 

So I have table in this format 

 

damit230183_0-1769699022223.png

 

Whereas, you can see I can total weekly email sent to 3000 users for 1st week and for 2nd week total email sent to 2900 users. This total should 5900. 

 

Now, If you look at READ column, it shows how many reader read that email on daily basis,

For example, first day for 2nd week total reader read email is 2800....then every day some more people read so number add to 2800. Total number should not be more than 2900 because only those users have received that email.

 

What I want is to have Difference column as shown in image below

 

damit230183_1-1769699323244.png

 

Once, I have difference column, I would like to add that column so I know total email sent to 5900 users in two weeks, whereas total 5840 total users have read out of 5900.

 

Hope this make sense more.

 

Thanks

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1769730413593.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
cengizhanarslan
Super User
Super User

Please try the formula below:

Read =
SUM ( Emails[Read] )   -- or MAX, depending on your grain

Difference =
VAR TodayRead = [Read]
VAR PrevRead  = CALCULATE ( [Read], DATEADD ( 'Calendar'[Date], -1, DAY ) )
RETURN
TodayRead - PrevRead

 

In description you say weeklt but the table is daily, if it is truly weekly you could change -1 to -7 in the formula.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.

Helpful resources

Announcements
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.