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

Be 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

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.