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 Team,
I need a help in writing a Measure using DAX .
Scenario1: I have a list of values , for which i want to view data in a table visual. I want to place a measure which filters data. I have a thousands of records in the table out of which i need to select a hundreads of records in filter.
Table Example - Customer
Customer _ID | Customer_Name |
1001 | Philips |
1002 | Warner |
1003 | Curran |
1004 | Joseph |
1005 | Steve |
I need to create a measure so that i can place that measure on visual filter level to see only for records 101 and 102.
So wanted to check best possible way to write the measure .
Tried Below way but it throws Resource memory exceeded issue.
VAR CSList = MAX(Customer[Customer_ID])
VAR HL = {"I001","I002","I003","I004","I005","I006","I007","I008","I009","I010","I011","I012","I013","I014","I015","I016","I017","I018","I019","I020","I021","I022","I023","I024","I025","I026","I027","I028","I029","I030","I031","I032","I033","I034","I035","I036","I037","I038","I039","I040","I041","I042" }
RETURN
IF((CSList in HL),1,0)
Any help is highly appreciated.
This works fine on my PC. How much RAM does yours have?
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |