Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello , i did some research but i wasn't able to find or adapt a solution to my project.
So my goal is to create a Card that shows the number of employee of the previous semester based in the selection of the "Data" slicer .
As you can see i was able to create the "Measure 3" that shows the current data selection -6 months
Now i want to show the employee numbers using "Measure 3" or some equivalent, that is able to do it using the Date selected in the "Data" -6 months / 1 semester.
This is my table:
This is measure 3:
Then i want to show only "Banco Montepio" but that i think i can do it applying a normal filter "Empresa" to the card visual
Thanks
Solved! Go to Solution.
ok , this is working now
ok , this is working now
Still not working. I want to create a visual card that show the number of employees the previous semester of the one selected in the slicer, for example, with 30-06-2022 filter it will give me the employees of 31/12/2021 ( one semester before )
@SergioPalhais , Create a table with distinct semesters (Assume date or sortable column ). Join it back with you table.
Have rank on the semester start date
A new column
semester Rank = RANKX(all('Date'),'Date'[semester start date],,ASC,Dense)
These measures can help
This Week = CALCULATE(Count('Table'[Count]), FILTER(ALL('semester '),'semester '[semester Rank]=max('semester '[semester Rank])))
Last Week = CALCULATE(Count('Table'[Count]), FILTER(ALL('semester '),'semester '[semester Rank]=max('semester '[semester Rank])-1))
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |