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
Hello,
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.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |