Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Solved! Go to Solution.
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])
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.
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.
Hi, @Peter_23
You can try the following methods. Create a new table.
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))
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?
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])
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.
Select "Show items with no data" for the Stores column.
I select this option, but it doesn't work 😞
Your time filter interfered.
You need to invest in a calendar table and/or in a disconnected table for the slicer.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |