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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
puffster
Helper I
Helper I

Old Power BI App Has Transform Data menu items grayed out

UPDATE:  I think I've figured out why the new column I created isn't showing in PowerBI...as I stated below I cannot see the columns when viewing the table in Microsoft SQL Server Management Studio, and when I right-click on the table the only option I have is for "partitions...", so I clicked on that and thought I was creating a new table column, but apparently it was only creating the new column in a partition. As I mentioned I have no experience with Analysis Services, so I guess the next step is to figure out how to create a table column. Below is the script that gets created for this table, and you can see there's no new column named "Big Sexy", that only shows up in the partition...

   

{
  "create": {
    "parentObject": {
      "database": "CurrAttendanceAnaysis"
    },
    "table": {
      "name": "Student",
      "columns": [
        {
          "name": "DW_PersonID",
          "dataType": "int64",
          "isHidden": true,
          "isKey": true,
          "sourceColumn": "DW_PersonID",
          "keepUniqueRows": true,
          "summarizeBy": "none"
        },
        {
          "name": "Gender",
          "dataType": "string",
          "sourceColumn": "Gender"
        },
        {
          "name": "RaceEthnicity",
          "dataType": "string",
          "sourceColumn": "RaceEthnicity"
        },
        {
          "name": "IC_PersonID",
          "dataType": "int64",
          "sourceColumn": "IC_PersonID"
        },
        {
          "name": "StudentNumber",
          "dataType": "string",
          "sourceColumn": "StudentNumber"
        },
        {
          "name": "StudentName",
          "dataType": "string",
          "sourceColumn": "StudentName"
        },
        {
          "name": "fullIdentification",
          "dataType": "string",
          "sourceColumn": "fullIdentification"
        },
        {
          "name": "Sort_idx",
          "dataType": "int64",
          "sourceColumn": "Sort_idx"
        },
        {
          "name": "Homeless",
          "dataType": "string",
          "sourceColumn": "Homeless"
        },
        {
          "name": "Refugee",
          "dataType": "string",
          "sourceColumn": "Refugee"
        },
        {
          "name": "FRL",
          "dataType": "string",
          "sourceColumn": "FRL"
        },
        {
          "name": "EL",
          "dataType": "string",
          "sourceColumn": "EL"
        }
      ],
      "partitions": [
        {
          "name": "Dim_Student",
          "dataView": "full",
          "source": {
            "type": "query",
            "query": [
              "declare @endyear as int = (select endyear from jcps.dbo.schoolyear where active = 1);",
              "declare @Today as date  = getdate()",
              "",
              "SELECT st.[DW_PersonID]",
              "      ,st.[IC_PersonID]",
              "      ,st.[StudentNumber]",
              "      ,st.[StudentName]",
              "      ,st.[fullIdentification]",
              "      ,st.[Sort_idx]",
              "      ,st.[Gender]",
              "      ,st.[RaceEthnicity]",
              "\t  ,iif(exists(select h.DW_PersonID from DM_StudentAssignment.dbo.Fact_Homeless as h where h.DW_PersonID = st.DW_PersonID and @Today between h.startdate and h.enddate), 'HOMELESS', 'NOT HOMELESS') as 'Homeless'",
              "\t  ,iif(r.DW_PersonID is not null, 'REFUGEE', 'NOT REFUGEE') as 'Refugee'",
              "\t  ,UPPER(isnull(f.[LunchCode_Name], 'Paid')) as 'FRL'",
              "\t  ,CASE ",
              "\t\t\tWHEN l.DW_PersonID is not null and programStatus = 'LEP' THEN 'Yes'",
              "\t\t\tELSE 'No' END as 'EL'",
              "\t  ,CASE ",
              "\t\t\tWHEN StudentNumber like '%5%' or StudentNumber like '%3%' Then 'Yes'",
              "\t\t\tElse 'No' END as 'BigSexy'",
              "from [dbo].[Dim_Student] as st",
              "left outer join DM_StudentAssignment.dbo.Fact_Refugee as r on st.DW_PersonID  = r.DW_PersonID and r.[endYear] = @endyear",
              "left outer join DM_StudentAssignment.dbo.Fact_FRL as f on st.DW_PersonID  = f.DW_PersonID and f.[endYear] = @endyear",
              "left outer join DM_StudentAssignment.dbo.Fact_LEP as l on st.DW_PersonID  = l.DW_PersonID and l.[ProgramStatus] = 'LEP'",
              "where exists(select fm.DW_PersonID from [dbo].[Fact_CurrentMembership_PupilMonth] as fm where st.DW_PersonID = fm.DW_PersonID and fm.grade between 0 and 20)",
              "",
              ""
            ],
            "dataSource": "Production_DW"
          }
        }
      ],
      "annotations": [
        {
          "name": "_TM_ExtProp_DbSchemaName",
          "value": "dbo"
        },
        {
          "name": "_TM_ExtProp_QueryDefinition",
          "value": [
            "declare @endyear as int = (select endyear from jcps.dbo.schoolyear where active = 1);",
            "declare @Today as date  = getdate()",
            "",
            "SELECT st.[DW_PersonID]",
            "      ,st.[IC_PersonID]",
            "      ,st.[StudentNumber]",
            "      ,st.[StudentName]",
            "      ,st.[fullIdentification]",
            "      ,st.[Sort_idx]",
            "      ,st.[Gender]",
            "      ,st.[RaceEthnicity]",
            "\t  --,iif(h.DW_PersonID is not null, 'HOMELESS', 'NOT HOMELESS') as 'Homeless'",
            "\t  ,iif(exists(select h.DW_PersonID from DM_StudentAssignment.dbo.Fact_Homeless as h where h.DW_PersonID = st.DW_PersonID and @Today between h.startdate and h.enddate), 'HOMELESS', 'NOT HOMELESS') as 'Homeless'",
            "\t  ,iif(r.DW_PersonID is not null, 'REFUGEE', 'NOT REFUGEE') as 'Refugee'",
            "\t  ,UPPER(isnull(f.[LunchCode_Name], 'Paid')) as 'FRL'",
            "\t  ,CASE ",
            "\t\t\tWHEN l.DW_PersonID is not null and isnull(l.parentDeclined,0) = 0 THEN 'EL(ESL)'",
            "\t\t\tWHEN l.DW_PersonID is not null and isnull(l.parentDeclined,0) = 1 THEN 'EL(NOT ESL)'",
            "\t\t\tELSE 'NOT EL' END as 'EL'",
            "from [dbo].[Dim_Student] as st",
            "--left outer join DM_StudentAssignment.dbo.Fact_Homeless as h on st.DW_PersonID  = h.DW_PersonID and h.[endYear] = @endyear",
            "left outer join DM_StudentAssignment.dbo.Fact_Refugee as r on st.DW_PersonID  = r.DW_PersonID and r.[endYear] = @endyear",
            "left outer join DM_StudentAssignment.dbo.Fact_FRL as f on st.DW_PersonID  = f.DW_PersonID and f.[endYear] = @endyear",
            "left outer join DM_StudentAssignment.dbo.Fact_LEP as l on st.DW_PersonID  = l.DW_PersonID and l.[ProgramStatus] = 'LEP'",
            "where exists(select fm.DW_PersonID from [dbo].[Fact_CurrentMembership_PupilMonth] as fm where st.DW_PersonID = fm.DW_PersonID and fm.grade between 0 and 20)"
          ]
        },
        {
          "name": "QueryEditorSerialization",
          "value": [
            "<?xml version=\"1.0\" encoding=\"UTF-16\"?><Gemini xmlns=\"QueryEditorSerialization\"><AnnotationContent><![CDATA[<RSQueryCommandText>declare @endyear as int = (select endyear from jcps.dbo.schoolyear where active = 1);",
            "declare @Today as date  = getdate()",
            "",
            "SELECT st.[DW_PersonID]",
            "      ,st.[IC_PersonID]",
            "      ,st.[StudentNumber]",
            "      ,st.[StudentName]",
            "      ,st.[fullIdentification]",
            "      ,st.[Sort_idx]",
            "      ,st.[Gender]",
            "      ,st.[RaceEthnicity]",
            "\t  --,iif(h.DW_PersonID is not null, 'HOMELESS', 'NOT HOMELESS') as 'Homeless'",
            "\t  ,iif(exists(select h.DW_PersonID from DM_StudentAssignment.dbo.Fact_Homeless as h where h.DW_PersonID = st.DW_PersonID and @Today between h.startdate and h.enddate), 'HOMELESS', 'NOT HOMELESS') as 'Homeless'",
            "\t  ,iif(r.DW_PersonID is not null, 'REFUGEE', 'NOT REFUGEE') as 'Refugee'",
            "\t  ,UPPER(isnull(f.[LunchCode_Name], 'Paid')) as 'FRL'",
            "\t  ,CASE ",
            "\t\t\tWHEN l.DW_PersonID is not null and isnull(l.parentDeclined,0) = 0 THEN 'EL(ESL)'",
            "\t\t\tWHEN l.DW_PersonID is not null and isnull(l.parentDeclined,0) = 1 THEN 'EL(NOT ESL)'",
            "\t\t\tELSE 'NOT EL' END as 'EL'",
            "from [dbo].[Dim_Student] as st",
            "--left outer join DM_StudentAssignment.dbo.Fact_Homeless as h on st.DW_PersonID  = h.DW_PersonID and h.[endYear] = @endyear",
            "left outer join DM_StudentAssignment.dbo.Fact_Refugee as r on st.DW_PersonID  = r.DW_PersonID and r.[endYear] = @endyear",
            "left outer join DM_StudentAssignment.dbo.Fact_FRL as f on st.DW_PersonID  = f.DW_PersonID and f.[endYear] = @endyear",
            "left outer join DM_StudentAssignment.dbo.Fact_LEP as l on st.DW_PersonID  = l.DW_PersonID and l.[ProgramStatus] = 'LEP'",
            "where exists(select fm.DW_PersonID from [dbo].[Fact_CurrentMembership_PupilMonth] as fm where st.DW_PersonID = fm.DW_PersonID and fm.grade between 0 and 20)</RSQueryCommandText><RSQueryCommandType>Text</RSQueryCommandType><RSQueryDesignState></RSQueryDesignState>]]></AnnotationContent></Gemini>"
          ]
        }
      ]
    }
  }
}

 

Hello!

 

  I've inherited a PowerBI app that was developed in 2018, and the developer is no longer at the company. I know very little about PowerBI and less than that about Analysis Services. The Data Source connection is:

puffster_0-1678803871880.png

I need to add some columns to one of the tables, but the top portion of Transform data is disabled and the only option I can select from the bottom half is Data source settings.  Note also that it does not show a Data view on the left-hand side. 

puffster_1-1678803932899.png

If I click Data source settings I get the following set of screens: 

puffster_2-1678804447505.png

So not much help there.  At that point I used SQL Server Management Studio, selected Analysis Services as my connection, and typed in the server above. I'm able to see the tables that were created but none of the field names. If I click on the table that I need to add fields to, Student, I can select Partitions. There's only 1 partition created so I click to edit it and can pull up the underlying SQL.  

puffster_3-1678804693604.png

I added a new test field just to see if this would work, BigSexy, and saved it to the partition.  
puffster_4-1678805042996.png

I processed the partition using the mode "Process Full" and it said it successfully completed.

puffster_5-1678805194611.png

Next I went back to my PowerBI and in the Model View selected Refresh.  After the "working on it" message goes away, the new field is not added to my Student table.  Does anybody know where I'm going wrong? 

puffster_6-1678805355837.png

 

 

 

2 REPLIES 2
lbendlin
Super User
Super User

Hit the Refresh button in Power BI which might force a meta data refresh and reveal the model changes.

Thanks for the response, I've tried refreshing from both the Report View and the Model View, it just gives me a quick flash but the new column doesn't show up 😞 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors