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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

MAX Week data for current campaign

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

5 REPLIES 5
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

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

Anonymous
Not applicable

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.

 

NatashaT_0-1665584147923.png

 

Hi @Anonymous 

 

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

Anonymous
Not applicable

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.

lukiz84
Memorable Member
Memorable Member

Hi

 

  • this should be posted in the DAX or PBI Forum, has nothing to do with PowerQuery.
  • What do your tables look like? How should we know from your very brief description?
  • What's the question, it's not clear to me?

 

 

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.