Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Community - Well, I thought this was going to be simpler than this.
I have a Salesforce column for "status" in my Opportunity table. I have the "closed date" column in that table connected to my main date table in an inactive relationship. In essence, what I am trying to do is get a count of the number of "Won" or "Lost" opportunities based on the closed date. I was hoping to use variables, but this formula below is not working at all. Any help is appreciated!
Solved! Go to Solution.
Hi @Anonymous
Since you are slicing by Status the use only
Count of Status =
CALCULATE (
COUNTROWS ( 'Sf_Opportunity Line' ),
USERELATIONSHIP ( 'Dim_Date Table'[Date], 'Sf_Opportunity Line'[CloseDate] )
)
Hi @Anonymous
Since you are slicing by Status the use only
Count of Status =
CALCULATE (
COUNTROWS ( 'Sf_Opportunity Line' ),
USERELATIONSHIP ( 'Dim_Date Table'[Date], 'Sf_Opportunity Line'[CloseDate] )
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |