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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.