We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all,
Please could someone advise the DAX code for the below required calculated columns:
Column 1:
Column 2: DAX Required
Column 3: DAX Required
Column 4: DAX Required
Columns 2-4 need to relate to that consultant.
Thanks,
Henry
@HenryJS ,
Could you please share more details about "Columns 2-4 need to relate to that consultant."?
Regards,
Jimmy Tao
Hi @HenryJS
try
Open Jobs = CALCULATE(COUNTROWS('Table'), ALLEXCEPT('Table','Table'[UserName]), 'Table'[JobStatus]="open")
Advertised Open Jobs = CALCULATE(COUNTROWS('Table'), ALLEXCEPT('Table','Table'[UserName]), 'Table'[HasAdvert]="yes")
% Jobs Advertised = [Open Jobs]/[Advertised Open Jobs]
then for column % Jobs Advertised set data type as percent in Modeling ribbon
do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi @az38
Instead of Count Rows, how do I make it output a '1' if the expressions we input are true?
Thanks,
Henry
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 57 | |
| 40 | |
| 36 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 38 | |
| 34 | |
| 23 |