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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Domstadfoppe
New Member

Turn a calculated measure into a row in a matrix

Hello,

 

I want to use the outcome of a calculated measure as a row in a Matrix.

 

I counted how many asbestos containing applications we found per object and made the following calculation:

 

Asbesthoudende toepassingen =

CALCULATE(
    COUNTA('Application'[Id]),
    'AnalysisResult'[Asbestos] IN { TRUE }
 
that resulted in a table where i could see how many asbestos containing applications (Asbesthoudende toepassingen) we found per object:
 
Object IDAsbesthoudende toepassingen
11
20
32
40
50
60
71
83

 

What i now want is a table where i can use "asbesthoudende toepassingen" as rows, and count how many "object ID" have that many asbestos containing applications. Something like this:

 

Asbesthoudende toepassingenCount of Object ID
04
12
21
31

 

 

PowerBI won't let me use a measure as a row in a matrix. Does anyone know how to do this?

 

Many thanks.

 

Pim Versteegt

 

 

 

 
 
 

 

 
 
 
 

 

 

 

1 ACCEPTED SOLUTION
2 REPLIES 2
amitchandak
Super User
Super User

thank u @amitchandak. Thanks to the video i made the table i needed.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.