The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi
I want to create a new field that will show True if StartPrevious is Null/Empty. As seen in the picture below:
1 Opportunity have 1 project
Expected output:
I am using this DAX Formula:
if its possible could you share a sample data
it seems its because of the relationship between the tables,
Try using this anyway:
StartDateBool =
VAR OpportunityID = [Opportunity_BK]
VAR HasProject =
CALCULATE(
COUNTROWS(Table),
FILTER(
Table,
Table[Opportunity_BK] = OpportunityID &&
NOT(ISBLANK(Table[StartPrevious]))
)
)
RETURN
IF(HasProject > 0, "False", "True")
Hi @pankaj_lp I can't call the [Opportunity_BK] from the DIM_Opportunity table although there is a one to many relationship to my fact table.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
77 | |
76 | |
47 | |
38 |
User | Count |
---|---|
147 | |
115 | |
65 | |
64 | |
53 |