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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
sarcher_FPCG
Regular Visitor

Creating a custom column measure based on type with additions

What I am looking for is have a measure  sum based on a category or type and then add additional column rows.

For instance...

Types are Puppies and Kittens summing the total for each month. Census being the Sum of both types, and ADC being the Average per Day by dividing the Census by the number of days in the month.

 

I'd like to show this in a table matrix visulaization. In the Data, I have the Animal Type and the Amount per Month. How do I get the Census and ADC to show in the same table viz?

 

(This is easy in Tableau, but I am new to PowerBI).

 

 

 Jun-21Jul-21Aug-21
Puppies203922
Kittens561034
Census764954
ADC2.531.581.74

 

Thank you - Stephen

1 ACCEPTED SOLUTION
sarcher_FPCG
Regular Visitor

I accomplished this by writting a SQL query for the SQL database to give the results in column row format and using that query for the import.

Stephen

View solution in original post

1 REPLY 1
sarcher_FPCG
Regular Visitor

I accomplished this by writting a SQL query for the SQL database to give the results in column row format and using that query for the import.

Stephen

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors