The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 containing only the rows of type meeting room, and calculate capasity for these rooms only.
I have tried the folowing with no luck:
Meetingrooms =
FILTER (
'RoomTable'
CONTAINS ('RoomTable'), [Room], "Meeting")
)
Best regards,
Frank
Solved! Go to Solution.
In Power Query denormalize the table first. Each piece of info should be stored in a separate column. So, your room number in one column and the type of room in another. Then you'll be able to filter seamlessly. Filtering by a substring is not the best idea and not Best Practice. Not to mention it slows down DAX.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |