Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am struggling with my cibeset when I have more than one part to the expression.
I can get the following to both work to create a filtered list of orderIDs
=CUBESET("Power BI - SALES","[Calendar].[FiscalYear].&[2021]*[ORDERS].[ID SFC order].children","OrderIDS")
=CUBESET("Power BI - SALES","[CUSTOMER].[ID SFC Account].&[001b000000UUchgAAD]*[ORDERS].[ID SFC order].children","OrderIDS")
But I cannot get both red filters to apply because i do not know the syntax - any advice to where I can learn how to do this?
=CUBESET("Power BI - SALES","[CUSTOMER].[ID SFC Account].&[001b000000UUchgAAD]*[Calendar].[FiscalYear].&[2021]*[ORDERS].[ID SFC order].children","OrderIDS")
Solved! Go to Solution.
Hi @ruthhacche - I moved this to the DAX area, from Power Query, though this really isn't DAX, but Excel. Power BI has no "Cubeset()" function. Someone here might be able to answer, but you may also get more traction in the Excel forums here.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingI have solved it!!!!
=CUBESET("Power BI - SALES"," ([CUSTOMER].[ID SFC Account].&[001b000000UUchgAAD],[Calendar].[FiscalYear].&[2021]) *[ORDERS].[ID SFC order].children","OrderIDS")
The filters need to be in brackets separated by a comma - makes sense.
thank you - yes I was coming at this from the point of examining how I can get more out of my PBI datasets. I have also posted it on Mr excel https://www.mrexcel.com/board/threads/cube-set-expression.1147602/
Great @ruthhacche - Mr Excel forums are also great for this kind of thing.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingI have solved it!!!!
=CUBESET("Power BI - SALES"," ([CUSTOMER].[ID SFC Account].&[001b000000UUchgAAD],[Calendar].[FiscalYear].&[2021]) *[ORDERS].[ID SFC order].children","OrderIDS")
The filters need to be in brackets separated by a comma - makes sense.
Hi @ruthhacche - I moved this to the DAX area, from Power Query, though this really isn't DAX, but Excel. Power BI has no "Cubeset()" function. Someone here might be able to answer, but you may also get more traction in the Excel forums here.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
33 | |
18 | |
18 |