Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
hello to all,
I created a unique table from 2 tables "BUDGprojects" and "REALprojects" / without duplicates, with the following DAX formula:
REF_REEL&BUDGProjects = DISTINCT(UNION(BUDGProjects, REELProjects)).
The resulting table has only one column, containing analytical accounts.
I would like to further improve this DAX formula by adding a filter: take only the cost accounts that start with F, J, G or E.
If any of you know how to modify this formula by taking only these 4 categories of accounts, I am interested in the syntax!
Solved! Go to Solution.
Hi @Anonymous ,
Try this formula.
Table = DISTINCT(UNION(FILTER(BUDGprojects,LEFT(BUDGprojects[column],1) in { "F","J","G","E"}),FILTER(BUDGprojects,LEFT(BUDGprojects[column],1) in { "F","J","G","E"})))
Best Regards,
Jay
Hi @Anonymous ,
Try this formula.
Table = DISTINCT(UNION(FILTER(BUDGprojects,LEFT(BUDGprojects[column],1) in { "F","J","G","E"}),FILTER(BUDGprojects,LEFT(BUDGprojects[column],1) in { "F","J","G","E"})))
Best Regards,
Jay
You can try following formula
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |