Forum Discussion
frankegg
3 years agoNew Member
Creating a new table with rows containing substring in a column
Hi I am very new to PowerBI queries, and hope someone can push me in the right direction π I have a table as shown below, named RoomTable. I will use this to create a similar table co...
- 3 years agoTry to create a measure with the code below, then you shall be able to create your expected table visual with this measure:Meetingrooms :=CALCULATE(SUM('RoomTable'[Capacity]),FILTER ('RoomTable'CONTAINS ('RoomTable','RoomTable'[Room],"Meeting")))
FreemanZ
Super User
3 years agoTry to create a measure with the code below, then you shall be able to create your expected table visual with this measure:
Meetingrooms :=
CALCULATE(
SUM('RoomTable'[Capacity]),
FILTER (
'RoomTable'
CONTAINS (
'RoomTable',
'RoomTable'[Room],
"Meeting"
)
)
)