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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Dunner2020
Post Prodigy
Post Prodigy

Issue with data model

Hi there,

I have created a measure which multiplies the no of the customer of different type and the price customer want to pay w.r.t season of the year and time of the day.

WTP =
Var _agri = CALCULATE([WTP Agr] * [Agricultural])
Var _com = [WTP Com] * [Commercial]
Var _ind = [WTP Ind] * [Industrial]
Var _res = [WTP Res] * [Residential]
RETURN
_agri + _com + _ind + _res

However, I noticed that when I select the season the year from slicer it gives the same value for the all time of the day for the season. I am not sure where am I making the mistake. Whether its data model or problem in dax calculation. Any help in fixing the issue would be really appreciated. Sample here

 

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Hi @Dunner2020 

Your Model doesn't make any sens

aj1973_0-1623009023012.png

Your tables are either related randomly or not related, you are calling to filter on Time table while Time Table is not related to any tabel, Many to many....

Building a report starts in Power Query to Modeling to reporting to publishing. 

Good luck

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

2 REPLIES 2
aj1973
Community Champion
Community Champion

Hi @Dunner2020 

Your Model doesn't make any sens

aj1973_0-1623009023012.png

Your tables are either related randomly or not related, you are calling to filter on Time table while Time Table is not related to any tabel, Many to many....

Building a report starts in Power Query to Modeling to reporting to publishing. 

Good luck

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

VijayP
Super User
Super User

@Dunner2020  Need to know the reason for using CALCUALTE in the first Varibale. May be that is causing issue! Less information but just assuming based on your explanation! Sharing some data helps!'




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.