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
dhawk
New Member

Grouping Data in PowerBI Matrix based on a Month Bin Count

I am attempting to recreate this table in PowerBI and cannot get the table to calculate data based on the bin grouping of a month.

dhawk_2-1661728318898.png

 

I have the following constructed:

 

dhawk_3-1661728332988.png

 

 

Row = Created On (where the error occurs) attempted to be New Group > Bin Size = 1 month
Columns = Source History (Chocolate, Vanilla, Swirl)
Value = Count of source history

 

It will tell me that date is not allowed as part of calculated column DAX expressions on DirectQuery models. I need to keep this data as a DirectQuery and cannot use the import option. I am curious if anyone has any recommendations on how to recreate this excel table inside of PowerBI. Followed along several different help articles but no luck. Thank you in advance to anyone who is able to make some recommendations.

2 REPLIES 2
Chew_WenJie
Resolver III
Resolver III

Hi, i think you can put two column (year & month) at Rows in matrix table, which it show every year and month.
Below image is the sample.

Chew_WenJie_0-1661734212873.png

Matrix table: 

Chew_WenJie_1-1661734244232.png

 

Hope this can help you.

 

 

Thanks for your suggestion, this unfortunately didn't solve the issue.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Kudoed Authors