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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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