Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dax
05-28-2023
11:28 PM
Hello BI Community,
I have two table.
1. Scheme Table
2. Master of DIstributor
Party name is name of Distributor who is eligibe for Scheme. and Distributor contains all name of Distributor in Gujrat State.
relationship : State to State
I want one column whe Party name is Equal to DIstributor then 1 otherwise 0
State | Party name | Distributor |
Gujarat | xyz | abc |
Gujarat | xyz | dfe |
Gujarat | xyz | xyz |
Gujarat | xyz | rtg |
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2023
03:28 AM
as a measure:
IF(
MAX('Table'[Party Name]) = MAX('Table2[Distributor]) ,
1 ,
0
)

Helpful resources
Announcements
Power BI Monthly Update - July 2025
Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors (Last Month)
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |