Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello community,
I need count the results of a measure, i try to explain my problem.
I have 3 tables:
I need to know how many workers stay in the work after 90 days.
In my measure table (Table3), i have 3 measures:
I Show this in a table:
Now, my problem is, that i need to know how many workers stay in the work after 90 days.
How i can count how many registers are >= to 90 days if this is a measure.
Thanks for your valuable help.
Regards.
Solved! Go to Solution.
Place this measure in the same visual and you'll have the sum at the total row (and 1 or zero in each of the other rows depending on if the employee has or not been with the company for > 90 days)
New Measure Total V2 =
SUMX (
DISTINCT ( Reg_Beneficiario_Empleabilidad[ID beneficiario] ),
([Dias_Vinculación]> 90) * 1
)
Or you can just place it in a card visual to have the total on it
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Try this measure that uses the one you already have. Place it in the visual:
New Measure Total =
SUMX (
DISTINCT ( Reg_Beneficiario_Empleabilidad[ID beneficiario] ),
[Dias_Vinculación]
)
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @AlB ,
Thanks for your answer, but how i Could count the workers that have more of 90 days in the work (Dias_Vinculación)?
With your formula are adding up.
Thanks for your help.
Regards
Place this measure in the same visual and you'll have the sum at the total row (and 1 or zero in each of the other rows depending on if the employee has or not been with the company for > 90 days)
New Measure Total V2 =
SUMX (
DISTINCT ( Reg_Beneficiario_Empleabilidad[ID beneficiario] ),
([Dias_Vinculación]> 90) * 1
)
Or you can just place it in a card visual to have the total on it
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 10 | |
| 6 | |
| 5 |