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] )
)
User | Count |
---|---|
73 | |
70 | |
38 | |
24 | |
23 |
User | Count |
---|---|
96 | |
94 | |
50 | |
42 | |
40 |