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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors