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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sarcher_FPCG
New Contributor

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
New Contributor

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
New Contributor

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
Users online (3,084)