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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
cbschley
Helper III
Helper III

Calculating a Level of Detail while also using a Parameter

Hello,

 

I'm familar with creating what Tableau calls a "level of detail" calculation. In PowerBI we use CALCULATE along with an ALLEXCEPT to generate the level of detail we want. However, I am running into an issue when trying to calculate it at different levels when I introduce a parameter. It appears that it doesn't know how to calculate this, and therefore it returns a non-aggregated number.



Here is how I'm building my measure, any help would be appreciated:

CALCULATE(
sum(DEMAND[PACINGOUTLOOK])
,ALLEXCEPT(Parameter_ForecastDate,Parameter_ForecastDate[Parameter_ForecastDate])
)


I would expect to see something like this, where I get the 170M number in the LOD column. This one was built without using a parameter:

cbschley_0-1702664941155.png



But instead, I get this when using a parameter (non-aggregated value):

cbschley_1-1702665064440.png

 

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

hi

Fowmy
Super User
Super User

@cbschley 

In your formula, what you basically do is to remove the filter from all the coumns in the table Parameter_ForecastDate  and keep only the filter coming from [Parameter_ForecastDate] , so you should include the column [Parameter_ForecastDate] in the table visaul as well.


 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

@Fowmy , I think I understand your statement. I am actually using the [Parameter_ForecastDate]  column in my table visual. As you can see below, I have four different options, and the visual in my original post is using the "Forecast Month". It would appear I am doing what you suggested, but it does not work unfortunately. 


cbschley_0-1702937945695.png

 

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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