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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors