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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I am new to DAX. Does anyone know who to get the max week data for current campaign (month) in Power BI? Please advise.
Thank you,
NT
Hi @NatashaT
Sorry the expected result is not clear. Do you want to get the data (total, average, or a single value?) of the max week (last week) for current campaign (month)? Or get the max data (perhaps weekly data) in a campaign (month) only? Can you provide some sample table data or examples to help explain what you want to get? How to provide sample data in the Power BI Forum - Microsoft Power BI Community
Best Regards,
Community Support Team _ Jing
I am sorry for lacking of descriptions. I am referring to getting help about creating new measure that gives me the latest data by campaign for ineligible, attested and remaining population for the current campaign.
For previous campaign, the latest week of the current campaign has to match with the previous campaign. Please see sample of data below.
Hi @NatashaT
Thanks for the data, but what is "campaign" in the data? What is the current campaign and what is previous campaign? Do you refer to Year-Qtr as campaign?
Jing
Campaign is a product weekly report (numbers). The current campign is 2022-Q4 Week 2. But I don't have current data. I am referred to Year-Qtr-Week as camapign.
Hi
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |