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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
CBI
Helper I
Helper I

Error using BW CDS View with a hierarchy as an input parameter

Hello,

 

I'm have well created a connection to BW from PowerBI Desktop and created a report with a simple cds view.

But we have some of those cds views which contains hierarchy as input parameters, and when i use them, I have an error saying "Dimension "Measures" is unknown. For more informations on this error, visit the SAP support site and search 'BRAINOLAPAPI 105'".

 

Maybe i'm wrong and there's nothing about the hierarchy and it is something else ?


Do you have any idea about it please ?

1 REPLY 1
FarhanJeelani
Super User
Super User

Hi @CBI ,

The error "Dimension 'Measures' is unknown" with reference to "BRAINOLAPAPI 105" in SAP BW usually occurs when Power BI struggles to interpret or process the hierarchy input parameter from the BW CDS view. Here's how you can troubleshoot and resolve the issue:

1. Verify the Hierarchy Input Parameter

  • Check the CDS view in SAP BW and ensure the hierarchy is properly defined.
  • Confirm that the hierarchy input parameter is correctly configured and that it allows values compatible with the data.

2. Test Without the Hierarchy Parameter

  • Remove the hierarchy input parameter and try loading data from the CDS view in Power BI.
  • If the error disappears, it confirms the issue is related to the hierarchy.

3. Use a Flat Data Structure

  • If hierarchies are causing problems, consider flattening the data in the CDS view.
  • Alternatively, you can process the hierarchy into a flat structure in SAP BW and then use it in Power BI.

4. Update or Patch SAP Connector

  • Ensure that you’re using the latest version of the SAP BW connector in Power BI. Updates often fix compatibility issues with CDS views or hierarchies.

5. Check Authorization in SAP BW

  • Sometimes, this error can occur if the user doesn't have the required permissions to access certain hierarchy elements in SAP BW.
  • Verify user authorizations for the CDS view and its hierarchy.

6. Review SAP Documentation

If none of these work, try capturing the query in SAP BW (e.g., via RSRT or a debug tool) to analyze the issue further or consult your SAP BASIS or BI team for assistance.

Let me know how it goes!

 

Please mark this as solution if it helps you . Appreciate Kudos.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors