Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everyone!!
I want to create a mesure which would show me the count where rc month is less than of equal to chosen slicer month and rcm month is less than of equal to chosen slicer month by selecting only one month from slicer. Say i chose april only from slicer the count of rows from jan till april should be shown. I have a date dimension from where i am filtering my month and its effect is shown in fact table but only till the chosen month. Here is the dax i am using
Solved! Go to Solution.
Hi @Anonymous ,
First of all believe that your measure is over complicated since you are using two times the ALL syntax over the FACT table believe that you can adjust you measure to be:
CALCULATE (
COUNTROWS ( 'fact table' ),
FILTER (
ALL ( 'fact table' ),
'fact table'[rc month] >= 1
&& 'fact table'[rc month] <= MAX ( 'Date dimension'[Date Key] )
&& NOT ( 'fact table'[RCM month] ) = BLANK ()
)
)
When you are refering to have your filter independent from your slicer what do you mean? How do you want to gilter the information?
Can you share a sample file and expected result?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
First of all believe that your measure is over complicated since you are using two times the ALL syntax over the FACT table believe that you can adjust you measure to be:
CALCULATE (
COUNTROWS ( 'fact table' ),
FILTER (
ALL ( 'fact table' ),
'fact table'[rc month] >= 1
&& 'fact table'[rc month] <= MAX ( 'Date dimension'[Date Key] )
&& NOT ( 'fact table'[RCM month] ) = BLANK ()
)
)
When you are refering to have your filter independent from your slicer what do you mean? How do you want to gilter the information?
Can you share a sample file and expected result?
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!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
118 | |
79 | |
47 | |
45 | |
32 |
User | Count |
---|---|
172 | |
90 | |
66 | |
46 | |
45 |