Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
expected outcome measure: =
COUNTROWS (
FILTER (
'Calendar',
'Calendar'[Date] >= MAX ( Employee[Joined Date] )
&& IF (
NOT ISBLANK ( MAX ( Employee[Relieving Date] ) ),
'Calendar'[Date] <= MAX ( Employee[Relieving Date] ),
MAX ( 'Calendar'[Date] )
)
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
In my table visual, I've noticed that the total of the measure is not appearing.This is concerning to me, as I intend to utilize this total value in a card visualization as well.
@Jihwan_Kim I would greatly appreciate it if you could spare some time to help me troubleshoot and rectify this situation.
And i am also going to calculate Last 12 months total sum for the above measure. Kinldy advise me whther the attached dax will work or not
Note - My my employee table and calendar tabale does not have any relationship.
Hi,
Please try the below in order to see the total row in the table visualization.
expected outcome measure: =
SUMX (
VALUES ( Employee[Employee] ),
CALCULATE (
COUNTROWS (
FILTER (
'Calendar',
'Calendar'[Date] >= MAX ( Employee[Joined Date] )
&& IF (
NOT ISBLANK ( MAX ( Employee[Relieving Date] ) ),
'Calendar'[Date] <= MAX ( Employee[Relieving Date] ),
MAX ( 'Calendar'[Date] )
)
)
)
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Please check the below picture and the attached pbix file.
expected outcome measure: =
COUNTROWS (
FILTER (
'Calendar',
'Calendar'[Date] >= MAX ( Employee[Joined Date] )
&& IF (
NOT ISBLANK ( MAX ( Employee[Relieving Date] ) ),
'Calendar'[Date] <= MAX ( Employee[Relieving Date] ),
MAX ( 'Calendar'[Date] )
)
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
10 | |
9 | |
9 |
User | Count |
---|---|
15 | |
12 | |
12 | |
11 | |
11 |