Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all,
Need to automate the Filter section in DAX on the basis of selection in a particular field.
You need to make the selection in Testaname field.
Below is the data Set
ID | Employee ID | Employee Name | Employee Status |
1 | E1 | ABC | Active |
2 | E2 | CEF | Active |
3 | E3 | GHI | Active |
4 | E4 | JKL | Inactive |
5 | MNO | Active | |
6 | E6 | PQR | Active |
7 | E7 | Active | |
8 | E8 | VW | Active |
9 | E9 | XY | |
10 | E10 | Z | Active |
RowID | TestaName | Table Name | Field |
1 | Employee ID is Blank | Test Data | Employee ID |
2 | Employee Name is Blank | Test Data | Employee Name |
3 | Employee Status is Blank | Test Data | Employee Status |
When i do any selection in TestaName field it should return me the count of blank of that particulate column in the 1st table
Dax which i created and is not working
Hi @ppriya ,
Field parameters are recomended.
Please create three measures:
Employee ID is Blank = CALCULATE(COUNT('Table'[Employee ID]),FILTER('Table','Table'[Employee ID] = BLANK()))
Employee Name is Blank = CALCULATE(COUNT('Table'[Employee Name]),FILTER('Table','Table'[Employee Name] = BLANK()))
Employee Status is Blank = CALCULATE(COUNT('Table'[Employee Status]),FILTER('Table','Table'[Employee Status] = BLANK()))
Modeling - New parameter - Fields
Add fields:
Create a slicer:
Create a card visual:
You will get the count of blank of that particulate column in the 1st table :
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ppriya
Did I solve your problem? If solved, please consider Accept it as the solution to help the other members find it more quickly.
Best regards,
Yadong Fang
Kindly help with the issue .
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
12 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |