Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
All 4 tables are connected through index column
Table1 is VM having Col: Server_name
Table2 is Tool having Col: Server_name
Table3 is Excluded having Col: Server_name,Tool_Name
Table4 is Active having Col: Server_name,Tool_Name
I want count of server names of VM table which are not present in any three tables which are Tool, Excluded, Activeusing DAX formula and from Excluded and Active table I only want values to be searched which have "D" as value in Tool_Name column.
Tried dax formulas from Chat gpt and all but showing parameter unexpected and Cant find values errors
Solved! Go to Solution.
Hi @GC0001 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a table.
Table =
var _t2=VALUES('Tool'[Col: Server_name])
var _t3=CALCULATETABLE(VALUES('Excluded'[Col: Server_name]),'Excluded'[Tool_Name]="D")
var _t4=CALCULATETABLE(VALUES('Active'[Col: Server_name]),'Active'[Tool_Name]="D")
var _t=UNION(_t2,_t3,_t4)
RETURN EXCEPT(VALUES('VM'[Col: Server_name]),_t)
(3) We can create a measure.
Count = COUNTROWS(ALL('Table'))
(4) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @GC0001 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a table.
Table =
var _t2=VALUES('Tool'[Col: Server_name])
var _t3=CALCULATETABLE(VALUES('Excluded'[Col: Server_name]),'Excluded'[Tool_Name]="D")
var _t4=CALCULATETABLE(VALUES('Active'[Col: Server_name]),'Active'[Tool_Name]="D")
var _t=UNION(_t2,_t3,_t4)
RETURN EXCEPT(VALUES('VM'[Col: Server_name]),_t)
(3) We can create a measure.
Count = COUNTROWS(ALL('Table'))
(4) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |