I want to calculate the difference between two dates. It is for me possible to do it in a measure, but it is not possible to get the networkdays in a group bar chart. See the result:
This is in a measure, but i cant create a calculated column or Power Query. How do i get the data in a grouped bar chart?
Hi @Matthijs12345 ,
Using this measure you can create another one based on the calculation of this one.
I don't have an idea how you have the table setup but if you do something similar to this should return expected result:
Total network days = SUMX(VALUES(Table[Column to groupby]), [Aantal werkdagen])
If this does not return the expected result try to do a summarize of the table with the values you need for the grouping, but for that without any data is difficult to pin point the exact code of the measure.
Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.
Check out the February 2024 Power BI update to learn about new features.
Explore career paths and learn resources in Fabric.
Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.