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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

DAX help

Hi All,

I am facing difficulty in creating a dashboard. Can anyone help me? Sample File here->https://github.com/ssijbabu/PowerBI

 

Please find the sample data below.

Application DivisionMonthRequestIncident
App1Div112/01/201853
App2Div112/01/201837
App3Div212/01/201882
App1Div101/01/201937
App2Div101/01/201952
App3Div201/01/201989
App1Div102/01/201923
App2Div102/01/201985
App3Div202/01/201952
App1Div103/01/201928
App2Div103/01/201984
App3Div203/01/201939
App1Div104/01/201996
App2Div104/01/201937
App3Div204/01/201963


I am trying to create the following measures
1) Total Tickets - Request + Incident -> Created while loading the Data
2) Last 3 months Total Tickets Avg -> this should be dynamic based on user month selection
3) App Classification -> Calculated based on 3 months avg, if the number fall between 0-5 -Small, 6-10 -Medium, 10-20 -Large.
4) App Cost -> Same as Application classification, if the number fall between 0-5 - $1000, 6-10 -$5000, >10 -$20000.


I am facing problem with 3rd and 4th measure.
I created measure using SWITCH statement, i am getting wrong number in total.
For 3rd measure, no total should be dispalyed. For 4th measure, its not calculating the sum of rows,
So i tried to implement the same in calculated column, but receiving circular dependency error.

Can some one help me how to implement it.

 

Regards

Sujay

2 REPLIES 2
sanimesa
Post Prodigy
Post Prodigy

I found a good thread which addresses the exact problem:

https://community.powerbi.com/t5/Desktop/Incorrect-Measure-Total/m-p/454679#M210659

 

BTW this post probably belongs in the Desktop forum, this forum appears to be for extensions. 

sanimesa
Post Prodigy
Post Prodigy

You could turn off the totals from the table visual and use cards to display the summary information. 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors