---
title: "How to add a count of posts from Facebook Insights to a Data Studio report"
slug: "how-to-add-a-count-of-posts-from-facebook-insights-to-a-data-studio-report"
description: "Learn how to use a calculated field to show the count of posts from Facebook Insights in Data Studio."
updated: 2026-05-06T13:12:31Z
published: 2026-05-06T13:25:57Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supermetrics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to add a count of posts from Facebook Insights to a Data Studio report

While there’s no default metric for counting Facebook posts in the Facebook Insights data source, you can still import this value to Data Studio (formerly Looker Studio) with a custom calculated field.

## Instructions

1. Open a report in Data Studio.
2. Click any report element to open Supermetrics.
3. Click the **Edit icon** next to the Facebook Insights data source.
4. Click **Edit connection**.
5. Click **Add a field** to bring up the calculated field window.
6. Add a meaningful name in **Field Name**.
7. In the Formula field, add this formula: `SUM(CASE WHEN Post ID IS NULL THEN 0 ELSE 1 END )`
8. Click **Save**.

You can now add this as a metric in your reporting.
