Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Dax query it's really imp nd urgent for me

hi can some one help me with this it is really very imp nd urgent for me

 https://drive.google.com/file/d/1BmG-flA6TE0v_sbka6rRtY0Aa2h8EsVT/view?usp=sharing 

i am using the below formulas to display my data for past 2 months nd current month based on month slicer selection

but i am unable to view my data.

can someone help me with dax query or a offset may also work to display my data.

R.SLA% 1 =
CALCULATE (
[M.SLA%],
FILTER (
'Query1',
'Query1'[Call Closed].[MonthNo] <= [month name]
&& 'Query1'[Call Closed].[MonthNo] >= [month name] - 2
&& 'Query1'[Call Closed].[Year] = YEAR ( TODAY () )
)
)
M.SLA% 1 =
CALCULATE (
[M.SLA%],
FILTER (
'Query1',
'Query1'[Call Closed].[MonthNo] <= [month name]
&& 'Query1'[Call Closed].[MonthNo] >= [month name] - 2
&& 'Query1'[Call Closed].[Year] = YEAR ( TODAY () )
)
)

 

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Anonymous 

Your  [month name] is Text and Month.No 

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

3 REPLIES 3
Fowmy
Super User
Super User

@Anonymous 

Your  [month name] is Text and Month.No 

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

AlB
Super User
Super User

Hi @Anonymous 

Can you explain a bit more what you exactly need?  Provide an example based an sample data and the expected result and the logic to get there

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

Anonymous
Not applicable

hiii aib

i am sharing u my pbix file nd expected output as well

 

i have a slicer in my data which has month names 

using that slicer selection my matrix and bargraphs should display sla% of current month selected which is working perfectly

now using the same slicer i need sla& mit sla% and count of call closed to display past 2 months nd current month data.

image.pnghttps://drive.google.com/file/d/1BmG-flA6TE0v_sbka6rRtY0Aa2h8EsVT/view?usp=sharing

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors