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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
SORPN
Frequent Visitor

Adding New measure

1. Is it possible to add a new calculated measure (or) new calculated column to a table which is already published by me. If so anyone please let me know the procedure ?

2. Is it possible to view or edit the DAX measure when we Load data in power BI desktop from power BI dataset. ?

1 ACCEPTED SOLUTION
pi_eye
Resolver IV
Resolver IV

Hi SORPN

 

1) You will need to export the .pbix (powerbi report file) that contains the data model, and edit that. 

The procedure, once you have the file opened locally is:

  • Expand the fields list on the right hand side
  • Right-click the table you wish to add the column / measure to
  • Select either "'New Measure" or "New Column"

pi_eye_0-1669647302039.png

  • Edit the expression using the formula bar above the report view:

pi_eye_1-1669647359709.png

 

  • Once you are happy, save the file with the same name as the original and publish back to the workspace using the option under the file menu

pi_eye_3-1669647560160.png

  • Ag

 

 

2) As far as I know, if you use PowerBI dataset that has already been created and on the service as your datasource

ie using this option: 

pi_eye_2-1669647484796.png

Then you cannot edit the dataset.

You will however, be able to edit the original using the steps outlined in 1)

 

 

 

I suggest you look into powerBI dataflows https://learn.microsoft.com/en-us/power-bi/transform-model/dataflows/dataflows-introduction-self-ser... this might fit your situation better.

 

Many thanks,

 

Pi

 

 

 

 

View solution in original post

1 REPLY 1
pi_eye
Resolver IV
Resolver IV

Hi SORPN

 

1) You will need to export the .pbix (powerbi report file) that contains the data model, and edit that. 

The procedure, once you have the file opened locally is:

  • Expand the fields list on the right hand side
  • Right-click the table you wish to add the column / measure to
  • Select either "'New Measure" or "New Column"

pi_eye_0-1669647302039.png

  • Edit the expression using the formula bar above the report view:

pi_eye_1-1669647359709.png

 

  • Once you are happy, save the file with the same name as the original and publish back to the workspace using the option under the file menu

pi_eye_3-1669647560160.png

  • Ag

 

 

2) As far as I know, if you use PowerBI dataset that has already been created and on the service as your datasource

ie using this option: 

pi_eye_2-1669647484796.png

Then you cannot edit the dataset.

You will however, be able to edit the original using the steps outlined in 1)

 

 

 

I suggest you look into powerBI dataflows https://learn.microsoft.com/en-us/power-bi/transform-model/dataflows/dataflows-introduction-self-ser... this might fit your situation better.

 

Many thanks,

 

Pi

 

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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