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
romovaro
Post Partisan
Post Partisan

Table - Create measure using column + $ value

Hello,

 

Quick question. I have a table with different columns. I have one that shows USD value and another one Type (can be External or BoB)

I want to create 2 measure in the table below that shows per row the:

- Amount $ USD External

- Amount $ USD Bob 

 

Client NameUSDTypeAgeingScopeComments
Client 110794External   
Client 13083External   
Client 13083External   
Client 210243External   
Client 311950BoB   
Client 319838BoB   
Client 42724BoB   
Client 42862External   
Client 48040BoB   
Client 443647BoB   
Client 44186BoB   
Client 52724BoB   
Client 59039BoB   
Client 63004BoB   
Client 7264BoB   
Client 75498BoB   
Client 71787BoB   
Client 79622BoB   
Client 75773BoB   

 

I already have the counts of BOB and External but I want to link the counts with $.

 

Count BoB-Type = COUNTROWS(Filter('Tablet', SEARCH("BoB", 'Table'[Type], , 0)>0))
Count External-Type = COUNTROWS(Filter('Table', SEARCH("External", 'Table'[Type], , 0)>0))
 
Thanks,
 
Robert
 
 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@romovaro , example like

SUMX(Filter('Tablet', SEARCH("BoB", 'Table'[Type], , 0)>0), [USD])

 

or

 

SUMX(Filter('Tablet', 'Table'[Type]  = "BoB" ), [USD])

 

Count External-Type = SUMX(Filter('Table', SEARCH("External", 'Table'[Type], , 0)>0), [USD] )

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@romovaro , example like

SUMX(Filter('Tablet', SEARCH("BoB", 'Table'[Type], , 0)>0), [USD])

 

or

 

SUMX(Filter('Tablet', 'Table'[Type]  = "BoB" ), [USD])

 

Count External-Type = SUMX(Filter('Table', SEARCH("External", 'Table'[Type], , 0)>0), [USD] )

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.