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
Anonymous
Not applicable

january month data

hiiii
i have this query to calculate percentage its woking correctly but i want to calculate this for january month data
 
 
30 divided by Count of count =
DIVIDE([30], COUNTA('Phone Call Data'[count]))
1 ACCEPTED SOLUTION
nandukrishnavs
Community Champion
Community Champion

@Anonymous 

 

Try something like this.

 

MeasureValue =
CALCULATE (
    DIVIDE ( 30, COUNTA ( 'Phone Call Data'[count] ) ),
    MONTH ( 'Phone Call Data'[Month] ) = 1 // or 'Phone Call Data'[Month]="January"
)

 


Regards,
Nandu Krishna

View solution in original post

3 REPLIES 3
Tahreem24
Super User
Super User

@Anonymous ,

Try a below DAX:

CALCULATE(DIVIDE([30], COUNTA('Phone Call Data'[count])),FILTER(DateTable,MONTH(DateTable[DateColumn])=1))

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
amitchandak
Super User
Super User

@Anonymous , based on date format you put a filter

//Jan this year with date

calculate(
DIVIDE([30], COUNTA('Phone Call Data'[count])), eomonth('Phone Call Data'[Date],0)=eomonth(date(year(today()),1,1),0))

 

calculate(
DIVIDE([30], COUNTA('Phone Call Data'[count])), 'Phone Call Data'[Month] =1)

 

calculate(
DIVIDE([30], COUNTA('Phone Call Data'[count])), format('Phone Call Data'[Date],"mmm") ="Jan")


calculate(
DIVIDE([30], COUNTA('Phone Call Data'[count])), format('Phone Call Data'[Date],"mmm-yyyy") ="Jan-2020")


calculate(
DIVIDE([30], COUNTA('Phone Call Data'[count])), 'Phone Call Data'[Month Name] ="January")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
nandukrishnavs
Community Champion
Community Champion

@Anonymous 

 

Try something like this.

 

MeasureValue =
CALCULATE (
    DIVIDE ( 30, COUNTA ( 'Phone Call Data'[count] ) ),
    MONTH ( 'Phone Call Data'[Month] ) = 1 // or 'Phone Call Data'[Month]="January"
)

 


Regards,
Nandu Krishna

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.