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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.