The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
My table below is showing the number of Subscribers by week, and as the report refreshes once a week (on Tuesdays), each week the report adds up the new subscribers.
The problem is when I add a filter on the report's page to see the total by month, because the report sums up the total amount of each week, instead of only add the new amount from the last week.
Here are the measures I'm using.
Thank you very much!🙂
Hi @ROG
Can you provide a whole data for me ? From this information you have provided so far, there is no way for me to provide you with a perfect solution. You need to provide the information you have so far and the final result you want to achieve .
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ROG
727291 is the sum of column Opt-Ins . You can create a measure like this :
Measure =
SUMX(FILTER(ALL('Table'),
'Table'[Week Start Date]<=MAX('Table'[Week Start Date])&&'Table'[Country]=MAX('Table'[Country])),[Weekgrowth])
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous thanks very much for your reply I believe it will work, but I do not have the 'WeekGrowth' column on my model. That column on the screenshot was just to explain what I need.
Can you please tell me how I would get the week change? I do not have a date table, a column.
Also, on your measure how would you add the filter I have on mine (OptinFlag)?
Many thanks!
@ROG , measure seem fine for grand total, only change I can suggest as of now
NoSubs = CALCULATE ( [Subscribers], filter(data_history_append_update, data_history_append_update[FLAG] = "Opt-In" ) )
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |