filtering a CUBESET

1_bit_wonder

New Member
Joined
Dec 31, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Im trying to filter a cubset based on a secondary column

I have a dataset with many columns but the 2 of interest or Company_Name (text) and Charity (yes/No)

i want to get a list of Company_Names that are charities so far i have
Excel Formula:
=CUBESET(
    "ThisWorkbookDataModel",
    "FILTER(
        [Base_Data].[Company_Name].children,
        [Base_Data].[Charity].CURRENTMEMBER.MEMBER_VALUE = true
    )",
    "Filtered Company Names"
)
but when i try and get a count it comes back as 0 (Should be > 6)
Excel Formula:
=CUBESETCOUNT(Q6)

If i take the filter and the charity line out i get the full list. Im close i just cant get past the finish line.

I'd appreciate any help
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,225,348
Messages
6,184,432
Members
453,231
Latest member
HerGP

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top