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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
vaalyushin
Helper I
Helper I

percentage changes by group

Hi! I have simple dataset with date, group,number of request. I want calculate percentage changes count of requests by group (with slicer by date, month,year). I create this measures

 

Previous count requests = CALCULATE(COUNTX('Dataset','Dataset'[Number request]), PREVIOUSDAY('Calendar'[Date]))

Measure = 
var _current = COUNT('dataset'[number of request])
var _result = divide(_current - [Previous count requests],[Previous count requests],"")
return _result

 

 but it's work only for month without group

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vaalyushin ,

 

Please check the PBIX file.

vcgaomsft_0-1661154358311.png

If I have misunderstood your requirements, please give an example of the calculation process and post the expected output.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@vaalyushin , Try a measure like

calculate([Previous count requests], filter(allselected(Table), Table[Group] = max(Table[Group])))

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

Unfortunately your measure doesn't work, I attached dataset 

Anonymous
Not applicable

Hi @vaalyushin ,

 

Please check the PBIX file.

vcgaomsft_0-1661154358311.png

If I have misunderstood your requirements, please give an example of the calculation process and post the expected output.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.