The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
User | Count |
---|---|
65 | |
60 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
88 | |
70 | |
48 | |
46 |