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
joku50
Frequent Visitor

How to fix 12months in a matrix columns

Hi, 
I have data starting from March but need to fix columns in the table for all 12 months and it should be based on the year selection the user makes. Currently in the matrix column "Date" is selected to show the phasings of data monthly, but based on how earliest the data point is available the table columns(Months) start off from that point on. Is there a way for me to fix in a matrix all the 12 months to be kept as columns for any slicer selections I make?

 

joku50_0-1692858610948.png

 

1 ACCEPTED SOLUTION
JoeBarry
Solution Sage
Solution Sage

Hi @joku50 

 

Can you try activating this part and see if it give yopu the result you need? 

JoeBarry_0-1692859116621.png

You also redo your measure?

 

 

ActualSales =
IF (
    CALCULATE ( SUM ( Sales[Actual] ) ) = BLANK (),
    0,
    CALCULATE ( SUM ( Sales[Actual] ) )
)

 

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution 

View solution in original post

2 REPLIES 2
joku50
Frequent Visitor

@JoeBarry Hey hi - appreciate your quick help! It worked perfectly and I've just learned about the "show items with no data" functionality thank you!!

JoeBarry
Solution Sage
Solution Sage

Hi @joku50 

 

Can you try activating this part and see if it give yopu the result you need? 

JoeBarry_0-1692859116621.png

You also redo your measure?

 

 

ActualSales =
IF (
    CALCULATE ( SUM ( Sales[Actual] ) ) = BLANK (),
    0,
    CALCULATE ( SUM ( Sales[Actual] ) )
)

 

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution 

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.