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
pgnilesh
Regular Visitor

Calculation Based on Values in PowerBI

Hi Team,

 

I am new to PowerBI and started learning it today only. I have a simple table like this. There are 6 tags appearing for the same date time. Requirement is I need to put some calculation say for example XYZ = 3505FT101F_CV + 35F1821F_CV. And this should be added for each time. I know there are somethings like adding new measure or calculated column but this is all based on columns. I need to perform this calculation based on value. Please suggest.

 

Tag_DateTag_NameTag_Value
4/9/18 9:00 AM3505FT101F_CV136.624876
4/9/18 9:00 AM35F1821F_CV5.29965
4/9/18 9:00 AM35FI14501F_CV119.59756
4/9/18 9:00 AM99PESWFF_CV0.008763643
4/9/18 9:00 AM99DEGRHPF_CV0
4/9/18 9:00 AM35W11_IHPSTEAMF_CV9.988991792
4/9/18 10:00 AM35FI14501F_CV119.2965316
4/9/18 10:00 AM3505FT101F_CV136.6248037
4/9/18 10:00 AM35W11_IHPSTEAMF_CV10.01061661
4/9/18 10:00 AM99PESWFF_CV0.009128429
4/9/18 10:00 AM99DEGRHPF_CV0
4/9/18 10:00 AM35F1821F_CV5.3100361
4/9/18 11:00 AM35W11_IHPSTEAMF_CV10.00146312
4/9/18 11:00 AM3505FT101F_CV139.1520708
4/9/18 11:00 AM35FI14501F_CV122.0044979

 

Thanks,

Nilesh

3 REPLIES 3
vanessafvg
Super User
Super User

@pgnilesh

 

not quite sure what you asking do you want to hard code the tag value in the calculation or do you want to aggregate all the values for the same tag?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Hi Vanessafvg, @vanessafvg

 

Thank you for your reply. What I need to do is really add 1 more record say XYZ for each Tag_Record_Date_Time which is a calculation like XYZ = 3505FT101F_CV + 35F1821F_CV. I think we can add a measure. But Measures are based on column is what I have understood. Then I can use Matrix Visualization to show All Tags as column which will have existing tags as shown in the table + the calculated tags. And Rows will be time.

 

Thanks,

Nilesh

@vanessafvg,

 

Just to explain more clearly, want to convert the table mentioned in my 1st post to this:

Tag_DateTag_NameTag_Value
4/9/2018 9:003505FT101F_CV136.624876
4/9/2018 9:0035F1821F_CV5.29965
4/9/2018 9:0035FI14501F_CV119.59756
4/9/2018 9:0099PESWFF_CV0.008763643
4/9/2018 9:0099DEGRHPF_CV0
4/9/2018 9:0035W11_IHPSTEAMF_CV9.988991792
4/9/2018 9:00XYZ (Calculation 1)3505FT101F_CV + 35F1821F_CV
4/9/2018 10:0035FI14501F_CV119.2965316
4/9/2018 10:003505FT101F_CV136.6248037
4/9/2018 10:0035W11_IHPSTEAMF_CV10.01061661
4/9/2018 10:0099PESWFF_CV0.009128429
4/9/2018 10:0099DEGRHPF_CV0
4/9/2018 10:0035F1821F_CV5.3100361
4/9/2018 10:00XYZ (Calculation 1)3505FT101F_CV + 35F1821F_CV
4/9/2018 11:0035W11_IHPSTEAMF_CV10.00146312
4/9/2018 11:003505FT101F_CV139.1520708
4/9/2018 11:0035FI14501F_CV122.0044979

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.