Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I have a column that calculates workdays between two dates.
Then I have a table with the list of all resources, but only certain resources are selected for the card I am displaying.
I need to do the following: AvailableHours = Workdays * 8 * the number of selected resources.
What would be the correct way get this?
Solved! Go to Solution.
Hi @Nicolette ,
Typically, a measure is a dynamic result, while a calculated column is a static result.
This blog post is written for you if you want to understand the difference between Calculated Column and Measure in DAX, and have any of below questions;
What is Calculated Column?
What is Measure?
When should I write calculated column or measure?
What is their difference in Performance?
What are operations that I cannot do with these?
and many other questions about the difference between these two types of calculations in DAX.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Nicolette ,
Try SELECTEDVALUE function or ALLSELECTED function.
It's better to provide dummy sample data and expected results if you're still confused about it.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Stephan, thanks for the answer.
When I user the following, I expect to get 10 days.
Hi @Nicolette ,
Typically, a measure is a dynamic result, while a calculated column is a static result.
This blog post is written for you if you want to understand the difference between Calculated Column and Measure in DAX, and have any of below questions;
What is Calculated Column?
What is Measure?
When should I write calculated column or measure?
What is their difference in Performance?
What are operations that I cannot do with these?
and many other questions about the difference between these two types of calculations in DAX.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |