Forum Discussion

Suresh4vkb's avatar
Suresh4vkb
Regular Visitor
4 years ago

Data is not showing up with values in Matrix Visual using SSAS Live Connection

We have a requirement to show or hide the columns in Power BI Report, able to implement with matrix visual. But when we are using SSAS live Connection for Data,

Values are not showing the actual data (with First or Last options), it is showing with aggregated counts. When we use the same data with SSAS Import or SQL Data with Import, values are showing. 

Below is the sample data

UsernameCompanyCountry
SA11001ABCIndia
SA11002ABCIndia
SA11003ABCIndia
SA11004XYZUSA
SA11005XYZUSA
SA11006XYZUSA

 

Values are showing as count

UsernameCount of CompanyCount of Country
SA1100111
SA1100211
SA1100311
SA1100411
SA1100511
SA1100611

 

But we need to show data as below with SSAS Cube live connection. Please suggest how to resolve this issue 

UsernameFirst CompanyFirst Country
SA11001ABCIndia
SA11002ABCIndia
SA11003ABCIndia
SA11004XYZUSA
SA11005XYZUSA
SA11006XYZUSA

4 Replies

  • FarhanAhmed's avatar
    FarhanAhmed
    Community Champion

    it should not be happening if Company and Country are coming as Dimension Values. Are you using Table Visual or Matrix visual for your report?

    • Suresh4vkb's avatar
      Suresh4vkb
      Regular Visitor

      Thanks for your response. I am using Matrix visual for the report

  • Anonymous's avatar
    Anonymous
    Not applicable

    Suresh4vkb 
    Do you have the below option to choose? Change Count to First.  

     

    Or you can create 2 measures for each column, and use the measures instead of columns.

    country measure=max([country])
    company measure= max([company])

     

    Paul Zheng _ Community Support Team
    If this post helps, please Accept it as the solution to help the other members find it more quickly.

    • Suresh4vkb's avatar
      Suresh4vkb
      Regular Visitor

      Thanks for your response. The first and last options are not displaying when we use data from SSAS Cube live connection mode. If we choose SQL/SQL import/SSAS Cube Import/Excel for data then the First and Last options are displayed. We are hoping it might be related to the data type issue