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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Bit2021
Frequent Visitor

Postgres database and table performance dashboard in Power BI

I have a database in PostgreSQL with some tables. Now, I want to create a dashboard for monitoring the below metrics.

 

  • Table size and table size growth rate per day

  • Table records count and count growth rate per day

  • records calculated rate

 

What is your suggestion for this solution?

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Bit2021 ,

 

According to your needs, my suggestion is:

    1. You can dynamically update the latest data according to day by configuring incremental refresh.

        related document link: Configure incremental refresh for Power BI datasets - Power BI | Microsoft Docs

 

    2. Then in powerbi, you can create a dax formula to calculate the daily addition according to day Data volume to record daily counts and count growth rates.

        just like:

Col_ =
CALCULATE (
    COUNTROWS ( 'Table' ),
    FILTER ( 'Table', 'Table'[Data] = EARLIER ( 'Table'[Data] ) )
)
Change_conut = SUMMARIZE('Table','Table'[Data],'Table'[Col_])

    3. Select the corresponding visual to show the result of the change

vhenrykmstf_0-1628668024247.pngvhenrykmstf_1-1628668140373.png

 

 

In additional, you can use Usage Metrics or do it yourself to monitor report.

related document link: 

Usage Metrics or Do It Yourself Power BI Monitoring Report - RADACAD


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @Bit2021 ,

 

According to your needs, my suggestion is:

    1. You can dynamically update the latest data according to day by configuring incremental refresh.

        related document link: Configure incremental refresh for Power BI datasets - Power BI | Microsoft Docs

 

    2. Then in powerbi, you can create a dax formula to calculate the daily addition according to day Data volume to record daily counts and count growth rates.

        just like:

Col_ =
CALCULATE (
    COUNTROWS ( 'Table' ),
    FILTER ( 'Table', 'Table'[Data] = EARLIER ( 'Table'[Data] ) )
)
Change_conut = SUMMARIZE('Table','Table'[Data],'Table'[Col_])

    3. Select the corresponding visual to show the result of the change

vhenrykmstf_0-1628668024247.pngvhenrykmstf_1-1628668140373.png

 

 

In additional, you can use Usage Metrics or do it yourself to monitor report.

related document link: 

Usage Metrics or Do It Yourself Power BI Monitoring Report - RADACAD


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Bit2021 , do you have some metadata data of postgresql from where you can read this?

Using those and DAX append you should be able to build that data in power bi

 

https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-...
https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/

I have a database in Postgresql then this database update every day.

 

Now, I want to create a dashboard to monitor the table statics on this database.

 

I can read data directly from the database.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.