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 August 31st. Request your voucher.
Hi Team,
There are three pages on the PBI report, each page showing the project status.
If we filtered the Project_Status=”Win” on the first page, may I know how to change the calculate column (Win%)? As the Sales_Closed and Sales_Pending value are showing blank on the first page. Is there any way to show the filter out data? If we don’t consider the “Edit Interactions” function. Thanks!
Calculate column:
Win%=
VAR Sales_WIN= CALCULATE( ‘Project’[Sales Amount], Filter (All (‘Project’), [Project_Status]=”Win”))
VAR Sales_Closed= CALCULATE( ‘Project’[Sales Amount], Filter (All (‘Project’), [Project_Status]=”Closed”))
VAR Sales_Pending= CALCULATE( ‘Project’[Sales Amount], Filter (All (‘Project’), [Project_Status]=”Pending”))
Return
Sales_WIN/(Sales_WIN+Sales_Closed+Sales_Pending)
Hi,
You could try change ALL to ALLSELECTED
Win%=
VAR Sales_WIN= CALCULATE( ‘Project’[Sales Amount], Filter (ALLSELECTED (‘Project’), [Project_Status]=”Win”))
VAR Sales_Closed= CALCULATE( ‘Project’[Sales Amount], Filter (ALLSELECTED(‘Project’), [Project_Status]=”Closed”))
VAR Sales_Pending= CALCULATE( ‘Project’[Sales Amount], Filter (ALLSELECTED(‘Project’), [Project_Status]=”Pending”))
Return
Sales_WIN/(Sales_WIN+Sales_Closed+Sales_Pending)
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |