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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Lakhanreddy143
New Member

Need Help with DAX Measure for Business Unit Specific Purchase In Core Calculation Message

Hello Power BI Community,

 

 

 

I'm facing an issue with a DAX measure in my Power BI report, and I'd greatly appreciate your assistance.

 

I have a table that includes a "Purchase" column and a "Business Unit" column. I'm trying to calculate a measure called "Purchase In Core" that takes the "Purchase" value and provides the result based on certain conditions. I've used the following DAX formula for this:

 

 

 

DAXCopy code

Purchase In Core = VAR CurrentSales = [Purchase] / 10 VAR Result = SWITCH ( TRUE(), CurrentSales >= 10000000, ROUND ( DIVIDE ( CurrentSales, 1000000 ), 2 ) & " Crores", CurrentSales >= 100000, ROUND ( DIVIDE ( CurrentSales, 100000 ), 2 ) & " Lakhs" ) RETURN Result

However, I've encountered issues when trying to display these results in my visualizations. It's not showing the values as expected. Each business unit has different values, and I want the "Purchase In Core" values to be calculated respecting the values in the "Business Unit" column.

 

I'm seeking guidance on how to modify the DAX formula or set up my visualizations to achieve the desired results. Any help or insights on how to resolve this issue would be highly appreciated.

 

Thank you for your assistance.

 

 

 

 

 

1 REPLY 1
speedramps
Super User
Super User

We want to help you but your description is too vaugue. Please write it again clearly.

Please DON'T copy & paste your DAX that does not work and expect us to fathom what you want to do. That would be crazy. 😀

Please just give a simple non technical functional decscription of what you want, then let us suggest the DAX. Thank you.

Provide example input data as table text (not a screen print) so we can import the data to build a solution for you.
Also provide the example desired output, with a clear description of the process flow.

Remember not to share private data ... we don't want you to get into trouble. 😧

Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.

You will get a quick response if you put time, care and effort into writing clear problem descriptions.

Vaugue descriptions can waste your time and ourtime.

Look foward to helping you when the above information is forthcoming

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors