Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Abdalmoamen
Frequent Visitor

Create filtered measure with data from ssas

Hello every one,

I created a report which get the live data from ssas, and i tried to create calculated measuer in ssas using this code

(SUM([Measures].[Budget])  ,[JE Type].[JE Type].&[CI],[JE Type].[JE Type].&[NR],[AccountType].[Account Type].&[Bank],[AccountType].[Account Type].&[Cash],[AccountType].[Account Type].&[NotesReceivable])

But i get this value as null, so there's any way to create this measuer in powerbi directly?

 

I want to sum all Budget Values from my fact measuers with the filter of:

1. [JE Type] dim = ("CI","NR)

2. [Account Type] dim = ("Cash","Bank","NotesReceivable")

 

6 REPLIES 6
TomMartens
Super User
Super User

Hey,

currently it's not possible to create measures from within Power BI on top of SSAS Multidimensional (SSAS Cube).

The creation of additional measures is just supported for SSAS Tabular.

Regards
Tom


Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi Tom,

Not on my computer right now but i have a SSAS Multidimensional cube that i was abble to do measures on I believe that this depend on the version.however I will check if it is a multidimensional, i'm sure about the.live connection on it.

Regards,
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @Abdalmoamen,

 

Try the following code for the DAX Measure:

 

Sales_SUM =
CALCULATE (
    [Budget];
    Table[JE Type] IN { "CI"; "NR" };
    Table[Account Type] IN { "Cash"; "Bank"; "NotesReceivable" }
)

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Can't create this measuer in ssas cube 

Create this measure on your report direclty.

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Can't create any measuer under live query mode 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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