Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I have a calculated column which returns some text or blank based on the condition below.
Calcuated Column = IF (
Opportunities[Stage of Opportunity]
IN {
"Open - SWA Still Active",
"Open - SWA Expired - Post Grace Period",
"Open - SWA Expired - In Grace Period"
}
|| Opportunities[Stage of Opportunity] = "SWA Lost"
&& Opportunities[Reason] = "Available for Winback",
Opportunities[RequestQuoteURL],
""
)
I have another unrelated table which defines the role of the user in the following format:
I want to adjust this calculated column above so that it only returns text if the user id is that of a partner.
Any suggestions?
@kartiklal7 , if first tbale has a column that can take user id
Calcuated Column = IF ( Opportunities[User ID] in summarize(Filter(Table2, Table2[Role] = "Partner"),Table2[User ID]) &&
Opportunities[Stage of Opportunity]
IN {
"Open - SWA Still Active",
"Open - SWA Expired - Post Grace Period",
"Open - SWA Expired - In Grace Period"
}
|| ( Opportunities[Stage of Opportunity] = "SWA Lost"
&& Opportunities[Reason] = "Available for Winback"),
Opportunities[RequestQuoteURL],
""
)
The first table does not have a column that can take user id and there is no relationship b/w the Opportunities and the User Table. Is there any other way?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
19 | |
16 | |
11 | |
9 | |
9 |