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
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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors