Visualize Forge Data with Power BI

00:02

NARRATOR: Welcome to Visualize Forge Results with Power BI.

00:06

Here we are in our space planning for new health

00:09

guidelines learning path.

00:12

And this is the last class in our visualizing building

00:17

performance data with Forge Workflow.

00:20

So you may be wondering, what is Power BI?

00:23

Well, Power BI is a data visualization tool

00:26

from Microsoft and it's available as part

00:28

of their Office 365 platform.

00:32

Now Power BI lets you easily create dynamic visualizations

00:37

with whole bunch of different data inputs.

00:39

And you can create visualizations

00:41

that are interactive and that you can publish and share

00:44

with others.

00:46

What we're going to do now is we're

00:47

going to use Power BI with the Forge results

00:51

that we got in our last lesson.

00:53

So in our last lesson we used Forge to export a CSV file

00:58

with data from our model.

01:01

In this lesson we're going to connect

01:02

that CSV file to Power BI and then

01:05

we're going to filter and visualize the data.

01:08

So we're going to get total areas by category.

01:11

We're going to visualize the areas.

01:12

We're going to use this as an interactive tool

01:15

to better understanding our building performance.

01:20

So here I am in Power BI.

01:21

And I'm going to go ahead and I'm

01:22

going to click on the Get Data button.

01:25

And I'm going to browse to the resultsfile.csv

01:29

that I downloaded from Forge.

01:32

So I click to select the file and then

01:34

I get a brief preview of the data.

01:37

So I'm just going to go ahead and I'm

01:39

going to click the Load button.

01:42

And now I'm inside of Power BI.

01:45

Now going to click on the left hand side to see the data view.

01:49

And when I do that I'm looking at something

01:51

that's similar to the tabular format of Excel.

01:53

I can see my columns, I can see my rows,

01:55

and I can see all of the data.

01:58

Now one thing to note is that the data that we extracted out

02:01

of Revit, is showing the area for the various instances

02:05

but it includes a square foot suffix.

02:10

So that makes it difficult because that's

02:12

text to actually do totals and get our total areas.

02:17

So what we're going to do is we're

02:18

going to go over to the right hand side

02:20

where we see a little summary of our data file

02:23

and I'm going to click the Data button.

02:26

And then I'm going to choose New columns.

02:28

So we're going to create a new column.

02:31

And in the text field I'm going to type substitute parentheses

02:36

and they're going to reference the area column.

02:38

So I type resultsFile which is the name of my file.

02:41

And then in brackets I type area which is the name of my column.

02:45

And then I'm going to substitute space SF which is our suffix.

02:51

And I'm going to substitute it with quote quote.

02:53

So I'm going to substitute it with basically nothing.

02:56

So I do that.

02:57

And here is my new column and you

02:58

can see I have the number of values

03:00

but I don't have that suffix included with it.

03:03

I'm going to go ahead and I'm going

03:04

to right click on the column and choose Rename

03:08

and I'm going to rename it as Area Number.

03:11

And next with that column, that Area Number column selected,

03:15

I'm going to go to the modeling tab up top

03:18

and then I'm going to click the Data Type.

03:21

So right now the data type for that column is set to text.

03:24

I'm going to click the down arrow

03:26

and I want to choose the Whole Number option.

03:30

So I get a warning message because I'm changing

03:32

the data type of that column.

03:34

So Power BI wants to make sure that I really

03:36

want to do this, which I do.

03:37

I click Yes.

03:39

And now you'll see that the numbers all of a sudden

03:41

shifted over to the right so now they're right justified.

03:44

And that's telling me that now they're

03:46

being calculated as numbers as opposed to text.

03:50

So I can click back to my visualization view.

03:54

And here I am back to my report right now.

03:58

So I'm going to go on the left hand--

03:60

sorry stop.

04:04

I'm going to go on the right hand side under visualizations.

04:07

And I'm going to click on the lower left hand icon here which

04:10

is for a slicer.

04:12

So I click on Slicer.

04:14

And then I want the slicer to act on the category.

04:17

And a slicer is really an interactive tool

04:19

that I can use to specify a value to filter

04:23

by in my visualization.

04:25

So we're going to use categories that

04:26

will allow us to change the visualization

04:29

to look at just roofs, just walls, walls and windows and so

04:33

on.

04:33

Next I'm going to click on the pie graph or pie chart

04:38

icon in visualizations.

04:40

And then I'm going to click Area Number and Family Name.

04:43

So now I'm seeing a visualization of the area

04:47

based on the family names of all the families in my CSV file.

04:52

Let me make this a little bit bigger.

04:55

And then next I want to click on the Table Visualization.

04:60

And I'm going to choose to display

05:02

the area number, the family name, and the family type.

05:06

So these are all family names and types coming directly

05:10

from data which comes directly from my model.

05:13

So I can click on the categories inside of my slicer now.

05:17

And you'll see that it actually is changing the pie graph

05:21

and it's changing the table just to show those results.

05:26

So next I'm going to go ahead and I'm

05:27

going to click on the Label Visualization.

05:32

For the label I'm going to choose the area number.

05:34

So that's going to display the area for the current selection.

05:39

And my last visualization I'm going to use a pie chart.

05:45

And I'm going to choose area number and category.

05:48

So now I can see the relative area

05:51

for the selected categories.

05:53

So in this case I can see that roofs

05:55

are a much bigger percentage of area than windows.

05:59

And if I don't have any got any category selected in my slicer

06:03

I can see that walls are much bigger area compared

06:06

to windows and roofs.

06:09

So I'm going to drill specifically into walls

06:12

and then again I can see it makes up 100% of that.

06:15

And you'll notice to my label is showing me the area

06:18

and it's rounding it to an approximate value.

06:20

While there's 31,147 square feet of walls

06:27

the label shows me as 31k.

06:31

Now next I'm going to click on this Plus button.

06:33

And let's say I want to visualize just the exterior

06:37

wall.

06:37

So I want to focus in and drill down on the exterior walls

06:41

only.

06:42

So I'm going to create a new page for my visualization.

06:45

And then I'm going to click on the pie graph.

06:49

And I'm going to choose the area number, category,

06:52

and family names.

06:54

So I can see that all of these categories

06:57

and all the instances of those.

06:60

Next I'm going to click on the Filter Field.

07:02

And with category selected as the actual filtering

07:08

field that we're going to look at,

07:09

I want to just click the Walls option.

07:11

So I want to filter to just show walls.

07:17

And next I want to choose a new filter for family name.

07:21

And if I click on Basic Filtering,

07:25

I can change that to advanced.

07:26

So with advanced filtering I can filter

07:29

based on specific letters or characters or things like that.

07:32

So under advanced filtering I want

07:34

to change my setting to starts with

07:37

and then I want to enter in the text field

07:39

starts with the letter E.

07:41

So this is going to filter for only the walls that

07:44

begin with the letter E. And I know from looking at the data

07:48

that all of my exterior walls have an e as the prefix.

07:53

So I click that.

07:54

And now I see and I apply that filter now

07:57

I can get a much better picture of my exterior walls.

08:01

I'm going to go ahead and click Label.

08:03

And I'm going to use that label for the area number.

08:08

And I can see now that I'm getting

08:10

total of 46,000 square feet for the exterior wall.

08:16

And if I click on any of the individual pieces in my pie

08:19

chart, I can see the area for those specific wall

08:24

types in the model itself.

08:28

So I'm going to go up and I'm going to save my visualization.

08:32

And now I can use this visualization

08:35

as a tool to better understand building performance.

08:38

And I can do this by visually comparing data directly

08:40

from the model.

08:41

So it's a lot easier to see comparisons in this format

08:45

than if I were digging through a spreadsheet.

08:47

So give it a try and see what you can come up with

08:49

and what insights you can learn from your model data

08:52

by using Power BI.

Video transcript

00:02

NARRATOR: Welcome to Visualize Forge Results with Power BI.

00:06

Here we are in our space planning for new health

00:09

guidelines learning path.

00:12

And this is the last class in our visualizing building

00:17

performance data with Forge Workflow.

00:20

So you may be wondering, what is Power BI?

00:23

Well, Power BI is a data visualization tool

00:26

from Microsoft and it's available as part

00:28

of their Office 365 platform.

00:32

Now Power BI lets you easily create dynamic visualizations

00:37

with whole bunch of different data inputs.

00:39

And you can create visualizations

00:41

that are interactive and that you can publish and share

00:44

with others.

00:46

What we're going to do now is we're

00:47

going to use Power BI with the Forge results

00:51

that we got in our last lesson.

00:53

So in our last lesson we used Forge to export a CSV file

00:58

with data from our model.

01:01

In this lesson we're going to connect

01:02

that CSV file to Power BI and then

01:05

we're going to filter and visualize the data.

01:08

So we're going to get total areas by category.

01:11

We're going to visualize the areas.

01:12

We're going to use this as an interactive tool

01:15

to better understanding our building performance.

01:20

So here I am in Power BI.

01:21

And I'm going to go ahead and I'm

01:22

going to click on the Get Data button.

01:25

And I'm going to browse to the resultsfile.csv

01:29

that I downloaded from Forge.

01:32

So I click to select the file and then

01:34

I get a brief preview of the data.

01:37

So I'm just going to go ahead and I'm

01:39

going to click the Load button.

01:42

And now I'm inside of Power BI.

01:45

Now going to click on the left hand side to see the data view.

01:49

And when I do that I'm looking at something

01:51

that's similar to the tabular format of Excel.

01:53

I can see my columns, I can see my rows,

01:55

and I can see all of the data.

01:58

Now one thing to note is that the data that we extracted out

02:01

of Revit, is showing the area for the various instances

02:05

but it includes a square foot suffix.

02:10

So that makes it difficult because that's

02:12

text to actually do totals and get our total areas.

02:17

So what we're going to do is we're

02:18

going to go over to the right hand side

02:20

where we see a little summary of our data file

02:23

and I'm going to click the Data button.

02:26

And then I'm going to choose New columns.

02:28

So we're going to create a new column.

02:31

And in the text field I'm going to type substitute parentheses

02:36

and they're going to reference the area column.

02:38

So I type resultsFile which is the name of my file.

02:41

And then in brackets I type area which is the name of my column.

02:45

And then I'm going to substitute space SF which is our suffix.

02:51

And I'm going to substitute it with quote quote.

02:53

So I'm going to substitute it with basically nothing.

02:56

So I do that.

02:57

And here is my new column and you

02:58

can see I have the number of values

03:00

but I don't have that suffix included with it.

03:03

I'm going to go ahead and I'm going

03:04

to right click on the column and choose Rename

03:08

and I'm going to rename it as Area Number.

03:11

And next with that column, that Area Number column selected,

03:15

I'm going to go to the modeling tab up top

03:18

and then I'm going to click the Data Type.

03:21

So right now the data type for that column is set to text.

03:24

I'm going to click the down arrow

03:26

and I want to choose the Whole Number option.

03:30

So I get a warning message because I'm changing

03:32

the data type of that column.

03:34

So Power BI wants to make sure that I really

03:36

want to do this, which I do.

03:37

I click Yes.

03:39

And now you'll see that the numbers all of a sudden

03:41

shifted over to the right so now they're right justified.

03:44

And that's telling me that now they're

03:46

being calculated as numbers as opposed to text.

03:50

So I can click back to my visualization view.

03:54

And here I am back to my report right now.

03:58

So I'm going to go on the left hand--

03:60

sorry stop.

04:04

I'm going to go on the right hand side under visualizations.

04:07

And I'm going to click on the lower left hand icon here which

04:10

is for a slicer.

04:12

So I click on Slicer.

04:14

And then I want the slicer to act on the category.

04:17

And a slicer is really an interactive tool

04:19

that I can use to specify a value to filter

04:23

by in my visualization.

04:25

So we're going to use categories that

04:26

will allow us to change the visualization

04:29

to look at just roofs, just walls, walls and windows and so

04:33

on.

04:33

Next I'm going to click on the pie graph or pie chart

04:38

icon in visualizations.

04:40

And then I'm going to click Area Number and Family Name.

04:43

So now I'm seeing a visualization of the area

04:47

based on the family names of all the families in my CSV file.

04:52

Let me make this a little bit bigger.

04:55

And then next I want to click on the Table Visualization.

04:60

And I'm going to choose to display

05:02

the area number, the family name, and the family type.

05:06

So these are all family names and types coming directly

05:10

from data which comes directly from my model.

05:13

So I can click on the categories inside of my slicer now.

05:17

And you'll see that it actually is changing the pie graph

05:21

and it's changing the table just to show those results.

05:26

So next I'm going to go ahead and I'm

05:27

going to click on the Label Visualization.

05:32

For the label I'm going to choose the area number.

05:34

So that's going to display the area for the current selection.

05:39

And my last visualization I'm going to use a pie chart.

05:45

And I'm going to choose area number and category.

05:48

So now I can see the relative area

05:51

for the selected categories.

05:53

So in this case I can see that roofs

05:55

are a much bigger percentage of area than windows.

05:59

And if I don't have any got any category selected in my slicer

06:03

I can see that walls are much bigger area compared

06:06

to windows and roofs.

06:09

So I'm going to drill specifically into walls

06:12

and then again I can see it makes up 100% of that.

06:15

And you'll notice to my label is showing me the area

06:18

and it's rounding it to an approximate value.

06:20

While there's 31,147 square feet of walls

06:27

the label shows me as 31k.

06:31

Now next I'm going to click on this Plus button.

06:33

And let's say I want to visualize just the exterior

06:37

wall.

06:37

So I want to focus in and drill down on the exterior walls

06:41

only.

06:42

So I'm going to create a new page for my visualization.

06:45

And then I'm going to click on the pie graph.

06:49

And I'm going to choose the area number, category,

06:52

and family names.

06:54

So I can see that all of these categories

06:57

and all the instances of those.

06:60

Next I'm going to click on the Filter Field.

07:02

And with category selected as the actual filtering

07:08

field that we're going to look at,

07:09

I want to just click the Walls option.

07:11

So I want to filter to just show walls.

07:17

And next I want to choose a new filter for family name.

07:21

And if I click on Basic Filtering,

07:25

I can change that to advanced.

07:26

So with advanced filtering I can filter

07:29

based on specific letters or characters or things like that.

07:32

So under advanced filtering I want

07:34

to change my setting to starts with

07:37

and then I want to enter in the text field

07:39

starts with the letter E.

07:41

So this is going to filter for only the walls that

07:44

begin with the letter E. And I know from looking at the data

07:48

that all of my exterior walls have an e as the prefix.

07:53

So I click that.

07:54

And now I see and I apply that filter now

07:57

I can get a much better picture of my exterior walls.

08:01

I'm going to go ahead and click Label.

08:03

And I'm going to use that label for the area number.

08:08

And I can see now that I'm getting

08:10

total of 46,000 square feet for the exterior wall.

08:16

And if I click on any of the individual pieces in my pie

08:19

chart, I can see the area for those specific wall

08:24

types in the model itself.

08:28

So I'm going to go up and I'm going to save my visualization.

08:32

And now I can use this visualization

08:35

as a tool to better understand building performance.

08:38

And I can do this by visually comparing data directly

08:40

from the model.

08:41

So it's a lot easier to see comparisons in this format

08:45

than if I were digging through a spreadsheet.

08:47

So give it a try and see what you can come up with

08:49

and what insights you can learn from your model data

08:52

by using Power BI.

Visualize Building Performance Data with Forge

1-3-Visualize Forge Data with Power BI

 

Activity

  1. Go to http://www.postman.com/downloads to download the Postman installer. Install the software after downloading it.
  2. Open Power BI and click the “Get Data” button. Browse to the “resultsFile.csv” file you downloaded in the previous lesson. Click “Load” to import the data.
  3. Navigate to the Data View. Note that the area data includes a “SF” suffix. This prefix needs to be removed so the area can be calculated. You will do this by creating a new column using the area data but removing the “SF” suffix.
  4. Click the “New Column” button to add a column to the data.
  5. Type the following in the column field: SUBSTITUTE(resultsFile[Area], “ SF”, “”). This will copy the area data but substitute the “SF” suffix with blank text.
  6. Right-click the new column and select “Rename”. Rename the column as “Area Number”.
  7. With the “Area Number” column selected, click the “Modeling” tab the click the “Data Type” drop-down. Change the data type of the column to “Whole Number”. Click “Yes” to accept the change.
  8. Switch back to the “Report” view in Power BI. Select visualizations from the palette and add them to the report. Consider adding the following visualization types:

    Slicer
    Pie Chart
    Table
    Card

  9. Create different visualizations to look at Category, Type Name, and Area Number.
  10. Create a new report page then add a Pie Chart. Set the Pie Chart to report Area Number, Category, and Family Name.
  11. Create a filter to filter by Category. Set the Category to “Walls”.
  12. Create another filter to filter by “Type Name” and “Begins with”. Enter the letter “E” in the text field. This will filter the Pie Chart to show only exterior wall types.
Was this information helpful?