Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I wrote a measure.
When slicer Category="Makeup", the Store would be MNY, 3CE, LRL MU.
When slicer Category="Skincare", the Store would be LRL FSS, MG, SGMB.
Then I want to rank them from all the store names, so I wrote a RANKX measure as following.
The problem is, the rank numbers for those 3 stores per category are correct, but why other stores also show here?
Is there any solution to exclude other stores?
Thanks a lot for your time!
Solved! Go to Solution.
Hi @YunJ ,
Try to create a measure and apply it in the visual level filter.
if(not(isblank(measure))),1,0)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @YunJ ,
Try to create a measure and apply it in the visual level filter.
if(not(isblank(measure))),1,0)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It seems like I can simply put "measure is not blank" to the Filter Pane.
Thanks a lot for your solution!
@YunJ , Try like
measure = calculate(sum(Blue[GV]), filter(Blue,
(Blue[Category]="Makeup" && Blue[Store] in {"MNY", "3CE", "LRL", "MU"}) ||
(Blue[Category]="Skincare" && Blue[Store] in {"LRL", "FSS", "MG", "SGMB"})
))
Hi @amitchandak
Thanks for your reply.
Actually the Category is in Category table, and the Store is in Store table. I made relationships for those two and the blue table.
Also, I already successfully wrote a sum(GMV) measure, only cannot write a RANKX measure for the selected Category and Store.
Thanks for your time.
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!