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 August 31st. Request your voucher.
I have created an offshoot dummy table but only want to include a certain subset - say the original table has 20000 rows, I just want to return around 500 that meet a set criteria. Would the table be able to provide for that condition, incorporating SELECTCOLUMNS ? I've tried to play around with the below but can't get it to accept. Streamlined version below. Looking for it to only return those where --- IF 'Table'[Company]="Company4"
DUMMYTABLE = SELECTCOLUMNS(
Table,
"Ref", 'Table'[Reference],
"From", 'Table'[From],
"To", 'Table'[To]
)
Solved! Go to Solution.
You can use
DUMMYTABLE
= SELECTCOLUMNS (
FILTER ( Table, 'Table'[Company] = "Company4" ),
"Ref", 'Table'[Reference],
"From", 'Table'[From],
"To", 'Table'[To]
)
You can use
DUMMYTABLE
= SELECTCOLUMNS (
FILTER ( Table, 'Table'[Company] = "Company4" ),
"Ref", 'Table'[Reference],
"From", 'Table'[From],
"To", 'Table'[To]
)
Perfect. Thank you so much
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
28 | |
13 | |
12 | |
12 | |
6 |