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.
I need to apologize for such elementary question (I've just started using Power BI) but I'm struggling with the following. I have a column in my dataset which can take up a the value of 0 or 1. For this I created a measure which divides the total count of rows with the sum of 1s. So basically if I have 10 rows with 5 having the value of 1, then it gives 50%. Now my problem is, I cannot figure it out how to display this measure only for a specific timeframe, specifically for the current week, current month, last week and last month. I need to display these values on a card visuals.
Thank you for your help!
Solved! Go to Solution.
Make sure that you have a date table linked to your fact table, then on your card visuals you can add 'Date'[Date] to the visual filter and use relative date, e.g. is in this calendar month.
Make sure that you have a date table linked to your fact table, then on your card visuals you can add 'Date'[Date] to the visual filter and use relative date, e.g. is in this calendar month.
Thank you very much! If I'd need to have that value as well as a measure, is there any easy was to have that calculated, let's say for the previous month?
Thanks again for the help!
I'm afraid I don't understand. Which value do you mean?
My bad, I formulated it incorrectly, in the meantime I figured it out. 🙂
Thanks again for the help!
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 |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |