Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I'm new to Power BI and have a single excel spreadhseet.
I have the code for a filter which I used in a measure to get the number of expected rows and its comes through correctly.
The filtered code is in the format "FILTER(Database,Expression)"
I want to be able to make a calculated column for my data table where every row that is present in the Filtered datatable is shown as 1, else 0.
Th current code I used is:
Solved! Go to Solution.
@Anonymous , if you want to display data to reduce, you need to create a measure and use that in the table visual along with other columns
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@Anonymous , if you want to display data to reduce, you need to create a measure and use that in the table visual along with other columns
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thanks for replying, that solved my issue! To anyone else who does not want to show the measure (where measure is the Filter formula) next to the column table in the visual, you can also filter the data table based on the created measure and say 'if measure is equal to 1' and lock the filter.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |