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,
I am looking to create a measure that will count the amount of values returned between two dates (1st Jan 2022 - 1st May 2022). However, I can't figure out the correct way. For something like a card it's easy as I can just add a relative time filter to the visual and it's done. But for say if I want a pie chart with the values between the dates mentioned above vs the values between another set of dates (2nd May 2022 - 2nd Aug 2022) I struggle to create the correct measure.
I've been toying around with this one:
Solved! Go to Solution.
You can specify a static date using the DATE function, e.g. DATE(2022,5,24).
Your syntax for combining filters is wrong, you don't need to specify the table again, so you could use
FILTER (
jiraissue,
jiraissue[CREATED] >= DATE ( 2022, 1, 1 )
&& jiraissue[CREATED] <= DATE ( 2022, 5, 1 )
)
I think you need and nor or for that condition so I changed it to && not ||
You can specify a static date using the DATE function, e.g. DATE(2022,5,24).
Your syntax for combining filters is wrong, you don't need to specify the table again, so you could use
FILTER (
jiraissue,
jiraissue[CREATED] >= DATE ( 2022, 1, 1 )
&& jiraissue[CREATED] <= DATE ( 2022, 5, 1 )
)
I think you need and nor or for that condition so I changed it to && not ||
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 63 | |
| 37 | |
| 34 | |
| 22 |