March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
I want to get some data when the user is using my power Bi-Project.
I mean for example: in my report, there is a slicer to filter the data in a specific period. In the same moment there is a card in my report using a measure, this measure needs to know how many quarters in the chosen time there ist to do some work.
I would be glad for any help!
Regards,
Solved! Go to Solution.
In this scenario, I assume you use a date slicer to select period. If you want to count quarters in selected period, you need to add a Quarter column in your table first.
Quarter = YEAR('Calendar'[Date]) & "Q" & ROUNDDOWN((MONTH('Calendar'[Date])-1)/3+1,0)
Then add a measure the distinct count Quarter column based on selected dates.
Measure = CALCULATE(DISTINCTCOUNT('Calendar'[Quarter]),ALLSELECTED('Calendar'[Date]))
Regards,
In this scenario, I assume you use a date slicer to select period. If you want to count quarters in selected period, you need to add a Quarter column in your table first.
Quarter = YEAR('Calendar'[Date]) & "Q" & ROUNDDOWN((MONTH('Calendar'[Date])-1)/3+1,0)
Then add a measure the distinct count Quarter column based on selected dates.
Measure = CALCULATE(DISTINCTCOUNT('Calendar'[Quarter]),ALLSELECTED('Calendar'[Date]))
Regards,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
165 | |
116 | |
63 | |
57 | |
50 |