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
Peter_23
Post Patron
Post Patron

Dimension columns with all values

Hi Power bi users 🙂 , I'm trying to figure out a calculated dimension (Stores) with values: currently and past values, and slicer to change the months. When I select Jan-Feb24 in slicer I compared this period with Jun-Jul23 this fine, but the C store in the currently period doesn't have value so it's missing in table 😞 . But the total is correct.

 

How to it's possible to  show the all values in dimension (store)?

I attach pbix file 

 

Thanks in advance.

 

Peter_23_0-1725640131592.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Peter_23 

 

You can try the following methods.

Measure 1 = 
Var _table=SUMMARIZE(Stores,Stores[Stores],"Sum sales",[Currently])
RETURN
SUMX(_table,[Sum sales])
Measure 2 = 
Var _table=SUMMARIZE(Stores,Stores[Stores],"Sum previous",[Previous])
RETURN
SUMX(_table,[Sum previous])

vzhangtinmsft_0-1726206341998.png

Is this the result you expected?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Hi, @Peter_23 

 

Have you solved your problem yet? I failed to open your link. If your problem has not been solved, please provide more information about the source data.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I share the Link 

Anonymous
Not applicable

Hi, @Peter_23 

 

You can try the following methods. Create a new table.

vzhangtinmsft_0-1726022030892.png

Currently = CALCULATE(SUM(Hoja1[Sales]),FILTER(ALLSELECTED(Hoja1[Time],Hoja1[Stores]),[Stores]=SELECTEDVALUE(Stores[Stores])))
Previous = CALCULATE([Currently],FILTER(ALL(Hoja1),[Year Order]=SELECTEDVALUE(Hoja1[Year Order])-1))

vzhangtinmsft_1-1726022160471.png

Is this the result you expected?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

@Anonymous  thanks amazing!  is there way to include total?

Anonymous
Not applicable

Hi, @Peter_23 

 

You can try the following methods.

Measure 1 = 
Var _table=SUMMARIZE(Stores,Stores[Stores],"Sum sales",[Currently])
RETURN
SUMX(_table,[Sum sales])
Measure 2 = 
Var _table=SUMMARIZE(Stores,Stores[Stores],"Sum previous",[Previous])
RETURN
SUMX(_table,[Sum previous])

vzhangtinmsft_0-1726206341998.png

Is this the result you expected?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

Select "Show items with no data"  for the Stores column.

I select this option, but it doesn't work 😞

Your time filter interfered.

 

lbendlin_0-1726011924328.png

You need to invest in a calendar table and/or in a disconnected table for the slicer.

 

@lbendlin  I knew, this is another path to follow,  time disconnected table 🤔

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.

Top Solution Authors