Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
33 | |
18 | |
18 |