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

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.

Reply
dheeraj_ami
Helper I
Helper I

How to create level measure

HI

 

How to create a measure with a level (Level Metrics in microstrategy)

for eg: i need a report like SubCategory,SumOfRevenue,SumOfRevenue For Category where Category attribute should not be in report

1 ACCEPTED SOLUTION

@dheeraj_ami

 

I tried using a sample data set in excel power pivot and it worked.

 

Create a meaure called BYCAT using the expression

BYCAT=

SUMX(
SUMMARIZE( SalesFactTable
,ProductCategory[ProductCategoryKey]
,"PYBC", Calculate(sum([Revenue],ALL(ProductCategory[ProductCategoryKey]))
)
,[PYBC]
)

 

I am assuming you have the necessary relationship built between the various tables.

 

Create a cross table using this and you should be able to see the result the way you want.

The sample output in the excel power pivot model tried by me is

 

Capture.GIF

 

 

Try it out and if it works please accept this as a solution and also give kudos.

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

View solution in original post

24 REPLIES 24
dheeraj_ami
Helper I
Helper I

@Greg_Decklerplease help me out how to create a level measure

Hi @dheeraj_ami

 

Can you please share some data and the visuals you are expecting.

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!
dheeraj_ami
Helper I
Helper I

how can i create a measure with a level (Level Metrics in microstrategy)

for eg: i need a report like SubCategory,SumOfRevenue,SumOfRevenue For Category where Category attribute should not be in report

@dheeraj_ami

 

Can you share some samples of the data and the visual you want to achieve

 

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors