# POST /MetricSet/SwitchTotalsCalculationRules/

Switches the calculation axis for any defined totals calculation rule for the specified measure.

## Request

Method | Request URI
--- | ---
POST | /API/MetricSet/SwitchTotalsCalculationRules/?id=value&sessionId=value

### URI Parameters

URI Parameter | Description
--- | ---
id | The ID of the metric set to update.
sessionId | Current session ID.

### Request Body

Name: measureUniqueName
Type: System.String

## Response

### Response Body

A Dundas.BI.WebApi.Models.MetricSetData object, or a status code indicating the problem.

© 1999-2021 Dundas Data Visualization, Inc.