Ask Your Question
0

How can the incorrect subtotals and totals in hierarchy be resolved in Power BI Measure?

asked 2021-05-05 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-21 10:00:00 +0000

david gravatar image

There are several potential ways to resolve incorrect subtotals and totals in hierarchy in Power BI Measure. Some possible strategies include the following:

  1. Check the aggregation and summarization settings: Often, incorrect subtotals and totals occur because of incorrect summarization rules. It's important to consider how the data is being aggregated at each level of the hierarchy, and whether that makes sense for the underlying measures. For instance, if a measure is being summed up at a higher level of the hierarchy, but should be averaged at a lower level, the subtotal or total may be misleading.

  2. Use the right DAX formula: Calculations in Power BI can be created using Data Analysis Expressions (DAX) formulas. Ensure that the DAX formulas used for creating the measures are appropriate, and take into account the hierarchy.

  3. Role-playing dimensions: In some cases, the same dimension table may appear multiple times in a model with different relationships. For example, a date table may be used for both order date and shipping date. Ensure that the right role-playing dimensions are being used for each calculation.

  4. Check the relationships: Make sure the relationships between tables are properly defined, especially in cases where the calculation involves tables not in the hierarchy.

  5. Validate the dataset: Ensure that the hierarchy being used is consistent and reflects the actual data stored in the data warehouse.

  6. Reorganize or flatten the hierarchy: Consider reorganizing the hierarchy, or even flattening it altogether, to resolve the issue. This can provide greater clarity and transparency on how the measures and data are being presented.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-05-05 11:00:00 +0000

Seen: 12 times

Last updated: Apr 21 '21