Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey PBI Group,
I have an easy one for you today, I'm still a rookie and trying to learn...
In my Data table, I have a column called Days Open. What I would like to do is create several measures based on the values in the Days Open column.
For example:
but the syntax isn't correct, and I am not able to find any examples of how to use a Range to create the measure. Any suggestions?
Thank you!
Solved! Go to Solution.
Just a small tweak should work. You need to write the 'Data Table'[Days Open] again and specify to use AND (&&) or OR(||).
<30 Open = CALCULATE(COUNTROWS('Data Table'),'Data Table'[Days Open] > 0 && 'Data Table'[Days Open] <=30)
Just a small tweak should work. You need to write the 'Data Table'[Days Open] again and specify to use AND (&&) or OR(||).
<30 Open = CALCULATE(COUNTROWS('Data Table'),'Data Table'[Days Open] > 0 && 'Data Table'[Days Open] <=30)
Awesome thanks Syk!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
26 |