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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
jshatila
Regular Visitor

Level of Detail Equivalent in Power BI

Hi All,

 

I have a calculation in Tableau I would like to replicate in Power BI. The calculation is fixing the level of detail as follows:

 

Tableau:

{FIXED [Month], [Restaurant Number], [Employee Role Name],
[Employee Role Type], [Employee Tenure Band]:
MAX([Store Headcount])}

And I am trying to replicate in Power BI as follows:

 

_StoreHeadcountFixed = 
CALCULATE(
    SUM(Sheet1[Store Headcount])
    ,ALLEXCEPT(Sheet1,Sheet1[Month])
    ,All(Sheet1[RestaurantNumber])
    ,allexcept(Sheet1, Sheet1[Employee Role Name])
    ,ALLexcept(Sheet1,Sheet1[Employee Tenure Band])
)

This is what the data looks like blown out:

 

Capture.PNG

 

When looking at the monthly level of granularity I expect my data to look like this (Tableau):

 

Capture2.PNG

So it is basically summing up Store Head Count for each month.

 

But instead it looks like this in Power BI:

Capture3.PNG

 

Any help with this calc would be much appreciated!

 

2 REPLIES 2
Anonymous
Not applicable

When you see a repeating figure like that it's more than likely a relationship issue. Can you upload the data model or at least a screenshot?

This is actually just a flat excel file. The layout of the data resembles the first image in the post (besides the measure in the last column obviously). Thanks!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.